457 results

phpng: Refactored PHP Engine with Big Performance Improvement

by Mario Brandt on

… and mod_perl for example that use the same libraries. Same remark as I made to Zeev: I still need apache2handler/mod_php for a legacy PHP-version besides PHP 5.5/5.6, especially on my Win2k8 server. Jan

[PROPOSAL] Alphanumeric decrement

by Adam Harvey on

… if we'd want to warn when 'a' decrements to 0, since it's a somewhat unintuitive behaviour. (Also, since Perl will decrement 'a' to -1 and Perl was the original inspiration, do we want to decrement to -1 as …

foreach() for strings

by Stas Malyshev on

… straightforward. Robert http://www.slideshare.net/andreizm/the-good-the-bad-and-the-ugly-what-happened-to-unicode-and-php-6 Also you may want to read this: http://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8 …

RFC: Short syntax for Arrays (redux)

by Michael Shadle on

… or Array()? $person = object('name' => 'Justin', 'city' => 'ogden', 'state' => 'ut', 'country' => 'usa', 'favoriteNumbers' => array(4, 12, 37, 42), 'unluckyNumbers' => array(6, 13, 21), 'likesPhp' => 'very much so' ); Then you maintain consistency instead of relying on specific characters. That makes more …

Expose compare_function() to userspace

by Richard Quadling on

… to a lesser extent) Perl, but if there are concerns about potential name clashes with existing code, may I suggest var_compare(). Get your votes and/or suggestions in! Thanks, Adam [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [99]

Why is ereg being deprecated?

by Mark Krenz on

Just to clarify. You mean that with the changes you've made for Unicode support in PHP 6, that current POSIX based ereg expressions will not work the same? On Mon, Oct 12, 2009 at 04:18:29PM GMT, Rasmus …

shebang skipping in 5.3.0

by Andi Gutmans on

-----Original Message----- From: Tom Boutell [mailto:tom@punkave.com] Sent: Saturday, September 05, 2009 6:30 AM To: Marco Tabini Cc: Pierre Joye; jani.taskinen@iki.fi; Andi Gutmans; Joey Smith; internals@lists.php.net Subject: Re: [PHP-DEV …

[PATCH] mysqli #35203 / #48065 Eliminate special case for calling procedures in mysqli

by Michael G Schwern on

… at mysqli::multi_query(). Anyhow, here's a complete patch with a test. The technique and code is lifted from Perl's DBD::mysql driver, which you can see here as mysql_st_free_result_sets() http://cpansearch.perl.org/

[RFC] build IDs proposal

by William A. Rowe on

… must use the same. For most well partitioned API's this is simply not a problem. (e.g. for mod_perl which is anything but partitioned, it's a horrible situation.) If the additional info were a diagnostic form, that …

Short syntax for array literals [...]

by Rasmus Lerdorf on

… makes it even more useless. That's great argument. So nice to know everything we do for 5.3 and 6 is completely useless :) No, THAT is really great argument. Compare "everything we do" with "backward incompatible syntax that duplicates …

import/use last call

by Stefan Walk on

… If you know Perl, you'll say use implies autoloading, if you know Python, you'll say import implies autoloading. Regards, Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHIISVpPjfcppEficRArY0AJoDb6n7SmSLeSzp/nMMmzqfo3fdtwCdEdR6 5zLnW+EmKaAVlr1asYoHFbo= =yzD3 -----END PGP SIGNATURE

substr/array_slice in []

by Marcus Boerger on

Hello Antony, Saturday, October 6, 2007, 8:49:14 PM, you wrote: I have no love for Perl (and a rather strong dislike of it), but I have to agree with those who say that "looks like Perl" is a …

substr/array_slice in []

by Antony Dovgal on

This was not on the table and the time of the 5.3 discussion, I for one think its a bit too much magic. Yeah, too Perl-ish for me. Please stop this. Stop what? This is MY opinion …

Runtime-JIT, the whole enchilada

by Andrei Zmievski on

… Really, how much of a performance hit is Sara's patch going to be, compared to other things in PHP 6? -Andrei That's somehow my thoughts too. My initial proposal was to have a simple JIT for GPC at …

Feature request

by Mathias Bank on

Richard Lynch schrieb: <?php function foo() { return array(1,2,3,4,5,6); } echo foo()[4]; // <---- it that It looks a bit perl-ish indeed but I don't see much trouble in having that it people really need …

Feature request

by Peter Hodge on

--- Stanislav Malyshev stas@zend.com wrote: <?php function foo() { return array(1,2,3,4,5,6); } echo foo()[4]; // <---- it that It looks a bit perl-ish indeed but I don't see much trouble in having that …

Feature request

by Stanislav Malyshev on

<?php function foo() { return array(1,2,3,4,5,6); } echo foo()[4]; // <---- it that It looks a bit perl-ish indeed but I don't see much trouble in having that it people really need it... -- Stanislav …

PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h)

by Andrei Zmievski on

… decision now. I'd prefer that from now on going forward we prefix all new classes with Php. In PHP 6, once This is a good solution. 3 extra characters for each class have not hurt spl users (no reports …

Unicode normalization forms

by Andrei Zmievski on

… be in the NFC form, in case you were curious. -Andrei Every time I see the Unicode support in PHP 6 getting better, I like it more. But I have a question related to a problem I recently had to …

Unicode Implementation

by Adam Maccabee Trachtenberg on

… Derick. I certainly understand that speed is important, but people somehow manage to develop Web sites in Java, C#, and Perl, and all those languages are Unicode only. We seem to be under the impression that the Unicode speed penalty …