<?php
function f()
{
$str = 'string';
echo $str[2]; //< Notice: It's not possible to fetch an array element on a non array [language_error]
$o = new \stdClass;
$obj = new \SplObjectStorage;
$obj[$o] = 1;
echo $obj[$o]; //< Notice: It's not possible to fetch an array element on a non array [language_error]
}
f();
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
r1