Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in /in/DJcQV on line 22
Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in /in/DJcQV on line 31
Fatal error: Uncaught Error: Undefined constant "MODULE_1_HANDLING" in /in/DJcQV:24
Stack trace:
#0 {main}
thrown in /in/DJcQV on line 24
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.
Fatal error: Uncaught Error: Undefined constant "MODULE_1_HANDLING" in /in/DJcQV:24
Stack trace:
#0 {main}
thrown in /in/DJcQV on line 24
Process exited with code 255.
Output for 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
Warning: Use of undefined constant MODULE_1_HANDLING - assumed 'MODULE_1_HANDLING' (this will throw an Error in a future version of PHP) in /in/DJcQV on line 24
Warning: A non-numeric value encountered in /in/DJcQV on line 42
Warning: Use of undefined constant MODULE_2_HANDLING - assumed 'MODULE_2_HANDLING' (this will throw an Error in a future version of PHP) in /in/DJcQV on line 33
Warning: A non-numeric value encountered in /in/DJcQV on line 42
<pre>array(2) {
[0]=>
array(3) {
["id"]=>
string(3) "m_1"
["title"]=>
string(7) "Regular"
["cost"]=>
string(5) "14.85"
}
[1]=>
array(3) {
["id"]=>
string(3) "m_2"
["title"]=>
string(7) "Express"
["cost"]=>
string(4) "22.5"
}
}
</pre>
Output for 7.2.0 - 7.2.33
Warning: Use of undefined constant MODULE_1_HANDLING - assumed 'MODULE_1_HANDLING' (this will throw an Error in a future version of PHP) in /in/DJcQV on line 24
Warning: A non-numeric value encountered in /in/DJcQV on line 42
Warning: Use of undefined constant MODULE_2_HANDLING - assumed 'MODULE_2_HANDLING' (this will throw an Error in a future version of PHP) in /in/DJcQV on line 33
Warning: A non-numeric value encountered in /in/DJcQV on line 42
<pre>array(2) {
[0]=>
array(3) {
["id"]=>
string(3) "m_1"
["title"]=>
string(7) "Regular"
["cost"]=>
string(2) "14"
}
[1]=>
array(3) {
["id"]=>
string(3) "m_2"
["title"]=>
string(7) "Express"
["cost"]=>
string(2) "22"
}
}
</pre>
Output for 7.1.0 - 7.1.20
Notice: Use of undefined constant MODULE_1_HANDLING - assumed 'MODULE_1_HANDLING' in /in/DJcQV on line 24
Warning: A non-numeric value encountered in /in/DJcQV on line 42
Notice: Use of undefined constant MODULE_2_HANDLING - assumed 'MODULE_2_HANDLING' in /in/DJcQV on line 33
Warning: A non-numeric value encountered in /in/DJcQV on line 42
<pre>array(2) {
[0]=>
array(3) {
["id"]=>
string(3) "m_1"
["title"]=>
string(7) "Regular"
["cost"]=>
string(2) "14"
}
[1]=>
array(3) {
["id"]=>
string(3) "m_2"
["title"]=>
string(7) "Express"
["cost"]=>
string(2) "22"
}
}
</pre>