So we have an anonymous function but unfortunately it is isn't totally orthogonal with normal functions in PHP.<?php $f = create_function('$s', 'echo "got: $s";'); $f("a string"); ?> __output__ got: a string
_________
broquaint
In reply to Re: Re: (jeffa) Re: PHP vs Perl code compare
by broquaint
in thread PHP vs Perl code compare
by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |