[PHP-DEV] Re: [PHP] zend_auto_global_disable_jit missing in PHP 5.4.5

2012-06-05 Thread Daniel Brown
On Mon, Jun 4, 2012 at 11:30 PM, freeone3000 wrote: > I'm working with a third-party PHP extension that makes a call to > zend_auto_global_disable_jit. However, in PHP5.4.5, there is no > zend_auto_global_disable_jit available, nor is it in its traditional > header. Commenting out all zend_auto_gl

[PHP-DEV] Generators in PHP

2012-06-05 Thread Nikita Popov
Hi internals! In the last few days I've created a proof of concept implementation for generators in PHP. It's not yet complete, but the basic functionality is there: https://github.com/nikic/php-src/tree/addGeneratorsSupport The implementation is outlined in the RFC-stub here: https://wiki.php.ne

Re: [PHP-DEV] Generators in PHP

2012-06-05 Thread Kris Craig
On Tue, Jun 5, 2012 at 10:35 AM, Nikita Popov wrote: > Hi internals! > > In the last few days I've created a proof of concept implementation > for generators in PHP. It's not yet complete, but the basic > functionality is there: > https://github.com/nikic/php-src/tree/addGeneratorsSupport > > The

[PHP-DEV] concatenation operator

2012-06-05 Thread Adi Mutu
Hello, Can somebody point me to where the concatenation operator is implemented ?  "." operator. Thanks,

Re: [PHP-DEV] concatenation operator

2012-06-05 Thread Felipe Pena
Hi, 2012/6/5 Adi Mutu : > > > Hello, > > Can somebody point me to where the concatenation operator is implemented ?   > "." operator. > > Thanks, See http://lxr.php.net/xref/PHP_TRUNK/Zend/zend_vm_def.h#133 -- Regards, Felipe Pena -- PHP Internals - PHP Runtime Development Mailing List To unsu

[PHP-DEV] SVN Account Request: fakebjori

2012-06-05 Thread bjori babe
Testing the mail forwarded... if it is really actually to friendly. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Generators in PHP

2012-06-05 Thread Laruence
Hi Nikita: the most important part to me is how did you implemented `yield` keyword, is there a whole patch file I can look into? what will happen if you use a `yield` in a normal function? actually, I tried to implemented coroutine, but since I could not find a way to make zend_e

Re: [PHP-DEV] Generators in PHP

2012-06-05 Thread Laruence
On Wed, Jun 6, 2012 at 10:15 AM, Laruence wrote: > Hi Nikita: > >    the most important part to me is how did you implemented `yield` > keyword,   is there a whole patch file I can look into? Nervermind, I will check the branch out later thanks > >    what will happen if you use a `yield` in a n

Re: [PHP-DEV] Generators in PHP

2012-06-05 Thread Laruence
On Wed, Jun 6, 2012 at 10:27 AM, Laruence wrote: > On Wed, Jun 6, 2012 at 10:15 AM, Laruence wrote: >> Hi Nikita: >> >>    the most important part to me is how did you implemented `yield` >> keyword,   is there a whole patch file I can look into? > Nervermind,  I will check the branch out later >