<?php
var_dump(gc_disable());
class Foo
{
public function __destruct()
{
echo "registered route now\n";
}
}
$a = new Foo();
// queue the route
echo "queuing now\n";
// run the app
echo "run the app\n";
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
NULL
queuing now
run the app
registered route now