- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
- Fatal error: No code may exist outside of namespace {} in /in/qtLsp on line 15
Process exited with code 255.
<?php
namespace Test\SuperTest{
class testA
{
private $b = 123;
public function __construct()
{
$a = 5;
}
}
}
$className = "Test\SuperTest\testA";
$object = unserialize(
sprintf('O:%d:"%s":0:{}', strlen($className), $className)
);
var_dump($object);