<pre>array(3) {
["Make"]=>
string(5) "Volvo"
["Color"]=>
string(3) "red"
["Quantity"]=>
int(18)
}
array(3) {
["Make"]=>
string(3) "BMW"
["Color"]=>
string(4) "blue"
["Quantity"]=>
int(13)
}
array(3) {
["Make"]=>
string(4) "Saab"
["Color"]=>
string(0) ""
["Quantity"]=>
int(11)
}
array(3) {
["Make"]=>
string(10) "Land Rover"
["Color"]=>
string(5) "green"
["Quantity"]=>
int(15)
}
Warning: Undefined variable $fp in /in/fQ4Hm on line 25
Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /in/fQ4Hm:25
Stack trace:
#0 /in/fQ4Hm(25): fclose(NULL)
#1 {main}
thrown in /in/fQ4Hm on line 25
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
<pre>array(3) {
["Make"]=>
string(5) "Volvo"
["Color"]=>
string(3) "red"
["Quantity"]=>
int(18)
}
array(3) {
["Make"]=>
string(3) "BMW"
["Color"]=>
string(4) "blue"
["Quantity"]=>
int(13)
}
array(3) {
["Make"]=>
string(4) "Saab"
["Color"]=>
string(0) ""
["Quantity"]=>
int(11)
}
array(3) {
["Make"]=>
string(10) "Land Rover"
["Color"]=>
string(5) "green"
["Quantity"]=>
int(15)
}
Warning: Undefined variable $fp in /in/fQ4Hm on line 25
Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /in/fQ4Hm:25
Stack trace:
#0 /in/fQ4Hm(25): fclose(NULL)
#1 {main}
thrown in /in/fQ4Hm on line 25
Process exited with code 255.