- var_dump: documentation ( source)
- gc_disable: documentation ( source)
<?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";