<?php
class Some
{
public function __construct()
{
echo get_class($this);
}
}
class Any extends Some
{
public function call_construct()
{
parent::__construct();
}
}
//$some = new Some;
//$any = new Any;
echo php_uname();
Linux php_shell 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64
Output for 5.5.33, 5.6.19, 7.0.4
Linux php_shell 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64
Output for 5.5.35, 5.6.7
Linux php_shell 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64
Output for 5.4.41 - 5.4.45
Linux php_shell 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64
Output for 5.4.39 - 5.4.40
Linux php_shell 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64
Output for 5.4.38
Linux php_shell 3.19.0-1-ARCH #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015 x86_64
Output for 5.4.34 - 5.4.37
Linux php_shell 3.18.5-1-ARCH #1 SMP PREEMPT Fri Jan 30 07:31:50 CET 2015 x86_64
Output for 5.3.29, 5.4.27 - 5.4.32
Linux php_shell 3.8.2 #3 SMP Fri May 31 14:28:26 UTC 2013 x86_64
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/RFXr2 on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/RFXr2 on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/RFXr2 on line 4
Process exited with code 255.