Hello

It looks like php-shell is having trouble parsing the new closure syntax.
Does anyone have a solution to this ?

Thanks
Tim

>>$r = function($a,$b){$a+$b;};

>> $r(1,2);
Exception (code: 0) got thrown
exception 'Exception' with message '/usr/share/php/PHP/Shell.php:557
function_exists() expects parameter 1 to be string, object given' in
/usr/share/php/php-shell-cmd.php:54
Stack trace:
#0 [internal function]: __shell_default_error_handler(2,
'function_exists...', '/usr/share/php/...', 557, Array)
#1 /usr/share/php/PHP/Shell.php(557): function_exists(Object(Closure))
#2 /usr/share/php/php-shell-cmd.php(116): PHP_Shell->parse()
#3 {main}
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
phpshell-devel mailing list
phpshell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpshell-devel

Reply via email to