- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
- Fatal error: Cannot re-assign $this in /in/ov26X on line 8
Process exited with code 255. - Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9
<?php
// Changement de classe à la volée
class A
{
function change()
{
$this = new B();
}
}