in reply to Re: (jeffa) Re: PHP vs Perl code compare
in thread PHP vs Perl code compare
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: (jeffa) Re: PHP vs Perl code compare
by fruiture (Curate) on Oct 28, 2002 at 13:44 UTC |