string(3) "foo"
string(3) "foo"
string(3) "bar"
string(3) "bar"
string(3) "baz"
enum(Constant\Suit::Hearts)
enum(Constant\Suit::Hearts)
Fatal error: Uncaught Error: Undefined constant "UNDEFINED" in /in/66no7:33
Stack trace:
#0 /in/66no7(33): constant('UNDEFINED')
#1 {main}
thrown in /in/66no7 on line 33
Process exited with code 255.
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 8.0.1 - 8.0.29
Parse error: syntax error, unexpected identifier "Suit" in /in/66no7 on line 15
Process exited with code 255.
Output for 7.4.33
Parse error: syntax error, unexpected 'Suit' (T_STRING) in /in/66no7 on line 15
Process exited with code 255.