1 - construct
1 - bar - stream
1 - destruct
resource(5) of type (Unknown)
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Output for 5.1.4 - 5.1.6, 5.2.0 - 5.2.2
1 - construct
1 - bar - stream
1 - destruct
resource(2) of type (Unknown)
Output for 5.0.2 - 5.0.5, 5.1.0 - 5.1.3
Warning: fopen(php://memory): failed to open stream: Success in /in/l3bXE on line 9
1 - construct
Warning: Supplied argument is not a valid resource handle in /in/l3bXE on line 21
1 - bar -
1 - destruct
Warning: fclose(): supplied argument is not a valid stream resource in /in/l3bXE on line 17
bool(false)
Output for 5.0.0 - 5.0.1
Warning: fopen(php://memory): failed to open stream: Success in /in/l3bXE on line 9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/l3bXE on line 11
1 - constructPHP_EOL
Warning: Supplied argument is not a valid resource handle in /in/l3bXE on line 21
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/l3bXE on line 21
1 - bar - PHP_EOL
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/l3bXE on line 15
1 - destructPHP_EOL
Warning: fclose(): supplied argument is not a valid stream resource in /in/l3bXE on line 17
bool(false)
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/l3bXE on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/l3bXE on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/l3bXE on line 4
Process exited with code 255.