head 1.1; access; symbols pkgsrc-2026Q3:1.1.0.6 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.4 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2026.01.08.13.38.00; author taca; state Exp; branches; next ; commitid h0n1I71fiLUQPApG; desc @@ 1.1 log @lang/php: add package version 8.5.1 PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It is modular, and object-oriented. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The language is designed to allow web developers to write dynamically generated pages quickly. PHP 8.5 comes with numerous improvements and new features such as * Built-in URI Extension to parse, normalize and handle URL. * Pipe Operator |> enables chaining callables and passing values. * Clone objects and update properties with the new clone() syntax. * A new attribute #[\NoDiscard] for a function. * Static closures and first-class-callables in constatnt expressisons. * cURL shared handles support. * array_first() and array_last() functions are added to array. * And much much more... @ text @$NetBSD$ Set shbang for phar correctly. --- ext/phar/Makefile.frag.orig 2015-06-23 17:33:33.000000000 +0000 +++ ext/phar/Makefile.frag @@@@ -18,7 +18,7 @@@@ PHP_PHARCMD_EXECUTABLE = ` \ else \ $(top_srcdir)/build/shtool echo -n -- "$(PHP_EXECUTABLE)"; \ fi;` -PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";` +PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";` $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc -@@test -d $(builddir)/phar || mkdir $(builddir)/phar @