- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Fatal error: Cannot redeclare Test::Test() in /in/vFt6e on line 6
Process exited with code 255.
<?php
class Test
{
public function Test(){ echo 'oki'; }
public function Test($x){ echo $x; }
}
$t1 = new Test();
$t2 = new Test(100);