3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public function method() { return parent::$property; } } $myClass = new MyClass; $myClass->method();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.2.110.0160.00620.41
8.2.100.0080.01219.05
8.2.90.0080.01218.69
8.2.80.0120.00518.58
8.2.70.0100.01118.46
8.2.60.0070.01218.48
8.2.50.0120.01318.48
8.2.40.0140.01218.72
8.2.30.0090.00318.66
8.2.20.0240.00218.55
8.2.10.0210.00218.98
8.2.00.0100.00519.37
8.1.240.0100.00718.40
8.1.230.0120.00518.36
8.1.220.0220.00718.42
8.1.210.0130.00919.57
8.1.200.0080.00818.34
8.1.190.0120.00718.14
8.1.180.0170.00618.21
8.1.170.0100.01018.43
8.1.160.0140.00318.56
8.1.150.0110.00720.44
8.1.140.0060.00818.40
8.1.130.0100.00618.50
8.1.120.0060.00518.55
8.1.110.0100.00818.46
8.1.100.0100.00518.51
8.1.90.0120.00718.44
8.1.80.0090.00318.41
8.1.70.0120.00518.59
8.1.60.0110.00218.58
8.1.50.0100.00518.58
8.1.40.0080.01018.75
8.1.30.0080.00518.82
8.1.20.0090.00318.68
8.1.10.0100.00318.46
8.1.00.0070.00618.53
8.0.300.0070.00217.81
8.0.290.0050.00517.82
8.0.280.0080.00217.59
8.0.270.0080.00617.77
8.0.260.0090.00217.84
8.0.250.0050.00617.88
8.0.240.0060.00517.82
8.0.230.0040.00618.14
8.0.220.0040.00717.79
8.0.210.0070.00618.40
8.0.200.0060.00518.52
8.0.190.0070.00518.49
8.0.180.0070.00518.42
8.0.170.0100.00318.51
8.0.160.0070.00518.53
8.0.150.0120.00317.81
8.0.140.0100.00517.78
8.0.130.0100.00317.67
8.0.120.0070.00618.34
8.0.110.0100.00318.55
8.0.100.0060.00718.33
8.0.90.0070.00718.34
8.0.80.0100.00318.38
8.0.70.0090.00417.84
8.0.60.0100.00318.43
8.0.50.0080.00917.84
8.0.30.0090.00418.46
8.0.20.0110.00317.86
8.0.10.0090.00717.94
7.4.330.0120.00928.09

preferences:
136.05 ms | 1446 KiB | 7 Q