On Sun, Mar 15, 2015 at 9:35 PM, Daniel Lowrey wrote:
> This is actually a *vastly* inferior solution to language-level support
> for generator returns. greenlet/gevent does it this way because these
> libraries were created before Python supported generator delegation (and
> continue supporting
Hi Daniel,
Would you mind clarifying the relationship between the "Generator
Delegation" RFC and the "Generator Return Expressions" RFC?
While I really appreciate the "Generator Delegation" RFC, the "Generator
Return Expressions" looks both unnecessary and kind of a hack to me. In
evented system
Hi Daniel,
In the formal definition, you have:
$throw $e;
... which I assume is a typo?
Damien
On Sun, Mar 15, 2015 at 8:18 PM, Daniel Lowrey wrote:
> Hi folks!
>
> As the discussion period has reached its conclusion I'd like to announce a
> two week voting period on the Generator Delegati
Hi Lester,
On Fri, Feb 27, 2015 at 9:53 PM, Lester Caine wrote:
> > Please, read the examples again, the current behavior is nothing but
> > inconsistent:
> >
> > substr("a", 1) => FALSE
> > substr("a", -300) => ""
>
> ? That was the case prior to PHP5.2.1
> The fixes in 5.2.2 were not commo
Hi Lester,
On Fri, Feb 27, 2015 at 6:51 PM, Lester Caine wrote:
> This may not be what YOU want substr to do and it would perhaps be
> useful to ADD additional checks so that 'false' is returned when it
> can't created a string because of the 'invalid arguments', but type
> hints makes no differ
Hi Christian,
On Fri, Feb 27, 2015 at 5:15 PM, Christian Stoller
wrote:
> In this case FALSE is an expected result and it is intended. And as
> I said other languages are going the same way.
>
Other languages are also doing something saner. It's not really an argument
either way.
Just because
Hi Christian,
On Fri, Feb 27, 2015 at 3:38 PM, Christian Stoller
wrote:
> It is not a bug. FALSE as a return value of substr() is the identificator
> for an error (e.g. invalid arguments), as it is stated in the
> documentation:
> [...]
>
"It is documented that way" and "it is not a bug" are tw
Hi Zeev,
On Fri, Feb 27, 2015 at 12:57 AM, Zeev Suraski wrote:
> Drupal homepage: One new E_DEPRECATED warning, which seems to catch a
> real bug, or at least faulty looking code:
> $path = trim($path, '/'); // raises E_DEPRECATED, as $path is boolean
> false.
> return $path;
>
> Drupal ad
On Sun, Feb 8, 2015 at 5:15 PM, Daniel Lowrey wrote:
> Currently PHP's openssl_random_pseudo_bytes() uses the latter function and
> allows users to pass a by-reference $crypto_strong out parameter to
> determine if the result is cryptographically strong. This is fine if you
> know all of the abov
On Mon, Dec 8, 2014 at 1:30 PM, Damien Tournoud wrote:
> PDO statement should not be made final, or this is a breaking language
> change (requiring an RFC and a 2/3 majority).
I see from the PR that it's PDORow, not PDOStatement. That one is not
actually exposed as such to userspac
On Thu, Dec 4, 2014 at 1:46 AM, guilhermebla...@gmail.com
wrote:
> Examples are COM, PDO Statement, DOM XML and MySQLi.
> They also reduce the amount of checks of bison when parsing a php file, it
> provides a nicer fatal error around multiple final and multiple abstract
> mix between abstract and
On Mon, Nov 3, 2014 at 10:10 PM, Stas Malyshev wrote:
> I'd like to put to vote my proposal about the filtered unserialize():
>
> https://wiki.php.net/rfc/secure_unserialize
Hi,
Coming late to the discussion. Was there any discussion to make the
new argument a callback instead? Pass it the fully
On Sat, Nov 1, 2014 at 1:40 PM, Andrea Faulds wrote:
> > On 31 Oct 2014, at 18:37, Larry Garfield wrote:
> > IF internals wanted to add implementation, not just improving streams,
> > something like the following would be much more useful:
> >
> > $request = http_get_request(PHP_STDIN); // or so
On Fri, Mar 15, 2013 at 11:08 AM, Dmitry Stogov wrote:
> This solution clones the history, but makes merging between PHP and O+ repo
> (it's going to be used for pecl build for old PHP versions) even more
> difficult.
>
> Thanks. Dmitry.
Not sure. Merging between the two repositories using the su
On Fri, Mar 15, 2013 at 10:24 AM, Dmitry Stogov wrote:
> I mean not "git subtree merge" but "git read-dir --prefix ...".
> Actually it imports all the history form O+ repo, but it's recorded with
> original patches (e.g. ZendAccelerator.h instead of moved
> ext/ZendOptimizerPlus/ZendAccelerator.h)
On Mon, Feb 18, 2013 at 10:03 PM, Brendon Colby wrote:
> I tried apc.include_once_override - no change. I set up Apache to one
> process and straced it. I clicked around on the site a few times and
> see the typical pattern:
>
> open("[PATH]/CacheFile.class.php", O_RDONLY) = 10
> fstat(10, {st_mod
On Fri, Feb 15, 2013 at 9:54 AM, Pierre Joye wrote:
>
> >>Mediawiki is slower because it does not support yet O+ for usercache,
> >>along other things.
> >
> > Is the same the case with Symfony?
>
> no, MediaWiki caching modules only support APC or Wincache so far.
As far as I understand, O+ does
I assume that something is functionally wrong on Symfony/O+:
Symfony, IIS, cache, PHP5.5.0devvc11: 2195
Symfony, IIS, cache, PHP5.5.0devvc11: 1919
Symfony, IIS, cache, PHP5.5.0devvc11: 2127
There was a previous report that Twig did not work at all with
optimizations enabled.
Damien
On Fri, Feb
On Wed, Sep 12, 2012 at 10:54 AM, Ivan Enderlin @ Hoa
wrote:
> Hello,
>
> It is probably me but it seems like the build-in HTTP server does not well
> support the HEAD method. Here is my following test case. First, the foo.php
> file:
>
>
>var_dump($_SERVER['REQUEST_METHOD']);
By definiti
Also see https://bugs.php.net/bug.php?id=55226
Same idea, but for the PDO_sqlite implementation.
Damien
On Mon, Jan 23, 2012 at 11:28 PM, b dewar wrote:
> Hi
>
> I initially sent this to php-db, but I guess it really belongs on internals.
>
> The C API for SQLite3 has an sqlite3_create_collatio
On Sat, Dec 24, 2011 at 7:07 AM, Pierre Joye wrote:
> Right, and that's why I would be in favour of a BC change, maybe by
> introducing a REQUEST_TIME_FLOAT instead, so people willing to use the
> float version can still have it while the existing code needs no
> change.
We spotted the same exact
On Sun, Sep 4, 2011 at 9:21 AM, Nikita Popov wrote:
> Hi Flavius!
>
> I am working on PHP Parser in user land code
> (https://github.com/nikic/PHP-Parser), which currently has
> capabilities to parse PHP 5.3 into an AST and compile the nodes back
> to PHP source.
Just as a side note: we do have a
#yay
Packages now build again on http://apt.damz.org/
Damien
On Mon, Aug 8, 2011 at 6:49 PM, Ilia Alshanetsky wrote:
> Different error, fixed now as well.
>
> On Mon, Aug 8, 2011 at 12:39 PM, Damien Tournoud wrote:
>> Thanks for the fix, but it is still failing in xsltproc
Damien
On Mon, Aug 8, 2011 at 6:06 PM, Ilia Alshanetsky wrote:
> Thanks, I've just applied a fix for this.
>
> On Mon, Aug 8, 2011 at 10:45 AM, Damien Tournoud wrote:
>> Just FYI, this commit broke the build:
>>
>> http://svn.php.net/viewvc?view
Just FYI, this commit broke the build:
http://svn.php.net/viewvc?view=revision&revision=314515
One occurrence as been missed in:
ext/xsl/xsltprocessor.c:DOM_RET_OBJ(rv,
(xmlNodePtr) newdocp, &ret, NULL);
Reference: https://drupaltesting.org/jenkins/job/php5.4-build/2
e hash table, and by storing *all* the occurrences of a
given W in SS), but that will increase the overall cost (both computing and
memory) of the algorithm.
Damien Tournoud
26 matches
Mail list logo