457 results

What is the use of "unicode.semantics" in PHP 6?

by Alexey Zakhlestin on

… a major version, so I create new major version of my code. Situation is just the same everywhere. Perl5 vs Perl6, Cocoa of MacOS-X 10.3/10.4/10.5… If ones need to use some older scripts, they …

Deprecation ideas for PHP 8

by Peter Kokot on

… that the only way to truly fix most of these problems would be to create a completely new language, like Perl6; or at least a complete rewrite, like Python 3. As those two examples show, the result would be effort …

[RFC][DISCUSSION] Strong Typing Syntax

by Rowan Collins on

… ago are here: http://rwec.co.uk/q/php-type-system In that post, I borrowed the term "container" from Perl6 for the conceptual thing that type constraints are stored against; in PHP's case, this would include variables, object …

New Standardized HTTP Interface

by Rowan Collins on

… removal of superglobals. Sure, they're not the best interface out there, but breaking every single codebase out there is not the way to go. Especially if we don't want a perl6/python3-like failure to adoption. Yes, t

[RFC] UString

by Rowan Collins on

… the internal representation is UTF16, code point access can be accelerated for any string containing only BMP characters (no surrogate pairs). The Perl6 concept of "NFG" attempts to extend that advantage to grapheme access, and to points outside the BMP.

[RFC] UString

by Andrea Faulds on

… meaning in this context, surely? The internal implementation could use UTF-8, UTF-16, or some made-up encoding (like Perl6's "NFG" system) and the user should never need to know (other than to understand performance implications). On the …

Windows build

by Marcus Boerger on

… behind 6.0 long ago :-) For reference, ActiveState python is built on Studio 2003 al la 7.1, while their perl is still built VC 6, if you are looking to coexist more peacefully with one or the other. More …

6.0 And Moving Forward

by David Muir on

… 7 (which could be 4 or 5 years out). We don't want to be in the same situation with 6 that python was in with 3, and perl was in 5. We want to encourage adoption. Having a PECL …

Namespaces in PHP 6 - ++$take

by Jessie Hernandez on

… the parser to know what that symbol is in the compilation phase. As an example: // BEGIN CODE using namespace PEAR::File; $items = File::Find::glob( '!.*.php$!', $dir, 'perl' ); // END CODE The first statement will add an entry into a hashta

PHP 6.0 Wishlist

by George Schlossnagle on

W4: Better lambda/anonymous functions and debugging for them. Consider Perl's anonymous functions which disappear as the references to them disappear. See the create_function() docs for notes about "memory leaks." Well, Perl subroutines are first class objects …

PHP 6.0 Wishlist

by George Schlossnagle on

… any call to undefined functions. Similar in concept to registering a main::AUTOLOAD in Perl. I personally think this would be both useful and evil for all the same reasons that AUTOLOAD is both useful and evil in Perl. George

system() behavior different from perl, python, ruby

by Roman Neuhauser on

… result is the man page streamed through, and the pager immediately quits. I'm observing this behavior with 4.3.6 but remember seeing this behavior in 4.0.6 or something around that time. PHP 4.3.6 (cli …

[RFC] Add pack()/unpack() endianness modifiers for floating-point numbers

by Alexandre Daubois on

Hi Tim, Le ven. 6 févr. 2026 à 21:23, Tim Düsterhus tim@bastelstu.be a écrit : The only comment I have would be that it would make sense to list deprecating g, G, e, and E as a Future …

[RFC] Add pack()/unpack() support for signed integers with specific endianness

by Alexandre Daubois on

… will be the next version of PHP? 9.0 or 8.6? The next version is likely to be 8.6. The 8.5 branch has been cut this week and the NEWS file now targets 8.6 on master …

Suggestion: Inconsistency: Allow array spread operator to work on string keys

by Chuck Adams on

… array_merge is the only one that makes sense. Addition of positional arrays is nonsensical: [1,2,3] + [4,5,6] ===> [1,2,3] As for named keys, every other language with a similar construct (perl, python, javascript) uses array …

current status of php + Openssl 1.1 builds?

by PGNet Dev on

… checkout master git log | head the 'cleanest' build on linux64 + openssl 1.1 I can manage atm, requires this fix perl -pi -e '\ s|SSLeay_version\(SSLEAY_VERSION\)|OpenSSL_version\(OPENSSL_VERSION\)|g' \ /work/php-src/ext/openssl/openssl.c …

[RFC] Combined Comparison (Spaceship) Operator

by Andrea Faulds on

Hey Yasuo, Ruby has it. Semantics is the same. http://ruby-doc.org/core-1.9.3/Comparable.html PERL has it. Semantics is the same. http://perldoc.perl.org/perlop.html#Operator-Precedence-and-Associativity Yep, and I mentioned …

[VOTE][RFC] Unicode Codepoint Escape Syntax

by Lester Caine on

… of course). If I saw "\x{abcd}” I'd expect it to be the same as "\xab\xbc”. Plus, while Perl has \x{xxxx} syntax, Ruby and ECMAScript 6 have the \u{xxxx} syntax, so \u{xxxx} is already more …

[PHP7] Remove the function keyword from class methods?

by Rowan Collins on

… a definition never begins simply "foo() { ... }". This gives the code structure a very different feel to loosely typed languages. ECMAScript 6 is an interesting exception which someone mentioned. But then, ECMAScript 6 is quite a strange language, really - it grafts …

[RFC] intdiv()

by Zeev Suraski on

-----Original Message----- From: Kris Craig [mailto:kris.craig@gmail.com] Sent: Thursday, July 17, 2014 6:02 AM To: Andrea Faulds Cc: Stas Malyshev; PHP internals Subject: Re: [PHP-DEV] [RFC] intdiv() Perhaps the RFC could have two options …