Re: (non)growing memory while creating anoymous functions via eval()
2013/2/3 Sebastian Bergmann <sebastian@php.net>
> Am 03.02.2013 18:07, schrieb Sebastian Bergmann:
> > Can you explain why you are using eval() instead of a real anonymous
> > function? Thanks!
>
> Please ignore my email; I mixed up create_function() and eval(). Then
> again, your code still does not make sense to me ...
>
Don't know, how create_function() works internally, but it seems, that they
at least act quite similar
<?php
create_function('','}echo "Foo";{'); // "Foo"
http://codepad.viper-7.com/h6NQfO
>
> --
> Sebastian Bergmann Co-Founder and Principal Consultant
> http://sebastian-bergmann.de/
> http://thePHP.cc/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
github.com/KingCrunch
Thread (15 messages)