php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /var/www/html/sub/images/sym/root/proc/self/root/php-7.1.11/Zend/tests/ |
files >> /var/www/html/sub/images/sym/root/proc/self/root/php-7.1.11/Zend/tests/bug48693.phpt |
--TEST-- Bug #48693 (Double declaration of __lambda_func when lambda wrongly formatted) --FILE-- <?php try { $x = create_function('', 'return 1; }'); } catch (ParseError $e) { echo "$e\n\n"; } try { $y = create_function('', 'function a() { }; return 2;'); } catch (ParseError $e) { echo "$e\n\n"; } try { $z = create_function('', '{'); } catch (ParseError $e) { echo "$e\n\n"; } try { $w = create_function('', 'return 3;'); } catch (ParseError $e) { echo "$e\n\n"; } var_dump( $y(), $w() ); ?> --EXPECTF-- ParseError: syntax error, unexpected '}', expecting end of file in %sbug48693.php(4) : runtime-created function:1 Stack trace: #0 %sbug48693.php(4): create_function('', 'return 1; }') #1 {main} ParseError: syntax error, unexpected end of file in %sbug48693.php(14) : runtime-created function:1 Stack trace: #0 %sbug48693.php(14): create_function('', '{') #1 {main} int(2) int(3)y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`