This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 291 Bytes
// Demonastrates method calling within string interpolation
// Increases memory usage by ~300kb
$df = get_defined_functions();
foreach (array_merge($df['internal'], $df['user']) as $func)
$$func = $func;
echo "String length of \"hello world\" is {$strlen('hello world')}\n";