Fatal error: Uncaught Error: Undefined constant "__DIR_" in /in/8knp2:4
Stack trace:
#0 /in/8knp2(41): [constant expression]()
#1 {main}
thrown in /in/8knp2 on line 4
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught Error: Undefined constant "__DIR_" in /in/8knp2:4
Stack trace:
#0 /in/8knp2(41): [constant expression]()
#1 {main}
thrown in /in/8knp2 on line 4
Process exited with code 255.
Fatal error: Uncaught Error: Undefined constant "__DIR_" in /in/8knp2:41
Stack trace:
#0 {main}
thrown in /in/8knp2 on line 41
Process exited with code 255.
Warning: Use of undefined constant __DIR_ - assumed '__DIR_' (this will throw an Error in a future version of PHP) in /in/8knp2 on line 41
Notice: Array to string conversion in /in/8knp2 on line 12
Notice: Array to string conversion in /in/8knp2 on line 13
Notice: Array to string conversion in /in/8knp2 on line 12
Notice: Array to string conversion in /in/8knp2 on line 13
Notice: Array to string conversion in /in/8knp2 on line 12
Notice: Array to string conversion in /in/8knp2 on line 13
array(0) {
}
array(0) {
}
object(Test)#1 (0) {
}
Output for 7.3.32 - 7.3.33
Warning: Use of undefined constant __DIR_ - assumed '__DIR_' (this will throw an Error in a future version of PHP) in /in/8knp2 on line 41
array(0) {
}
array(0) {
}
object(Test)#1 (0) {
}
Output for 7.1.0 - 7.1.25
Notice: Use of undefined constant __DIR_ - assumed '__DIR_' in /in/8knp2 on line 41
Notice: Array to string conversion in /in/8knp2 on line 12
Notice: Array to string conversion in /in/8knp2 on line 13
Notice: Array to string conversion in /in/8knp2 on line 12
Notice: Array to string conversion in /in/8knp2 on line 13
Notice: Array to string conversion in /in/8knp2 on line 12
Notice: Array to string conversion in /in/8knp2 on line 13
array(0) {
}
array(0) {
}
object(Test)#1 (0) {
}
Output for 5.6.38
Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /in/8knp2 on line 4
Process exited with code 255.