3v4l.org

run code in 300+ PHP versions simultaneously
<?php class HR { public $foo = 2; } $Obj1 = New HR( Foo.bar() ); $Obj2 = new stdClass( someDo( $Obj1 ) ); #EOF#

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.3.60.0070.00718.52
8.3.50.0140.00318.06
8.3.40.0070.00718.97
8.3.30.0110.00418.66
8.3.20.0040.00420.30
8.3.10.0040.00421.85
8.3.00.0080.00019.72
8.2.180.0070.01418.30
8.2.170.0070.00722.96
8.2.160.0100.00320.41
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00821.00
8.2.120.0070.00026.35
8.2.110.0070.00322.29
8.2.100.0070.00417.91
8.2.90.0050.00318.03
8.2.80.0000.00819.35
8.2.70.0050.00317.93
8.2.60.0030.00517.93
8.2.50.0030.00518.10
8.2.40.0040.00420.30
8.2.30.0030.00519.36
8.2.20.0070.00018.00
8.2.10.0030.00518.04
8.2.00.0030.00318.31
8.1.280.0110.00425.92
8.1.270.0000.00820.29
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.92
8.1.230.0040.00720.85
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00817.23
8.1.190.0000.00817.23
8.1.180.0060.00318.10
8.1.170.0040.00418.44
8.1.160.0040.00418.83
8.1.150.0030.00320.32
8.1.140.0040.00417.70
8.1.130.0000.00718.83
8.1.120.0070.00017.40
8.1.110.0040.00417.34
8.1.100.0040.00417.45
8.1.90.0000.00817.29
8.1.80.0020.00517.32
8.1.70.0000.00717.45
8.1.60.0040.00417.48
8.1.50.0000.00817.45
8.1.40.0050.00317.43
8.1.30.0000.00817.57
8.1.20.0040.00417.55
8.1.10.0040.00417.49
8.1.00.0060.00317.43
8.0.300.0060.00320.21
8.0.290.0070.00016.75
8.0.280.0000.00718.43
8.0.270.0030.00317.26
8.0.260.0030.00316.88
8.0.250.0080.00017.04
8.0.240.0000.00717.01
8.0.230.0030.00317.04
8.0.220.0040.00416.87
8.0.210.0040.00416.89
8.0.200.0070.00017.05
8.0.190.0000.00717.04
8.0.180.0030.00516.96
8.0.170.0060.00317.01
8.0.160.0040.00416.98
8.0.150.0040.00316.91
8.0.140.0080.00016.85
8.0.130.0060.00013.42
8.0.120.0000.00816.90
8.0.110.0080.00016.97
8.0.100.0000.00716.82
8.0.90.0000.00716.81
8.0.80.0120.00317.01
8.0.70.0040.00416.86
8.0.60.0040.00416.84
8.0.50.0040.00416.94
8.0.30.0150.00517.06
8.0.20.0120.00717.40
8.0.10.0040.00416.91
8.0.00.0130.00816.83
7.4.330.0050.00015.55
7.4.320.0030.00316.52
7.4.300.0030.00316.54
7.4.290.0030.00316.41
7.4.280.0000.00816.58
7.4.270.0000.00716.43
7.4.260.0000.00716.32
7.4.250.0030.00616.41
7.4.240.0070.00016.51
7.4.230.0000.00716.38
7.4.220.0000.00816.57
7.4.210.0040.01716.46
7.4.200.0070.00016.57
7.4.160.0080.00816.44
7.4.150.0120.00817.40
7.4.140.0120.00917.86
7.4.130.0150.00616.49
7.4.120.0140.00816.44
7.4.110.0070.01016.63
7.4.100.0130.00316.40
7.4.90.0100.00716.53
7.4.80.0160.00719.39
7.4.70.0110.00716.40
7.4.60.0030.01316.32
7.4.50.0050.00816.64
7.4.40.0060.00916.44
7.4.00.0090.00615.21
7.3.330.0000.00513.13
7.3.320.0000.00513.13
7.3.310.0000.00716.34
7.3.300.0070.00016.25
7.3.290.0070.00816.30
7.3.280.0100.00816.30
7.3.270.0150.00317.40
7.3.260.0140.00716.39
7.3.250.0070.01016.44
7.3.240.0100.00916.46
7.3.230.0030.01316.37
7.3.210.0090.00916.43
7.3.200.0070.01416.45
7.3.190.0120.00616.54
7.3.180.0070.01016.52
7.3.170.0120.00316.47
7.3.160.0090.00616.55
7.3.10.0000.01416.69
7.3.00.0090.00616.57
7.2.330.0100.00616.55
7.2.320.0030.01316.30
7.2.310.0120.00916.52
7.2.300.0160.00616.46
7.2.290.0100.00716.53
7.2.130.0030.01016.92
7.2.120.0060.00917.05
7.2.110.0030.01416.96
7.2.100.0090.00316.97
7.2.90.0130.00316.93
7.2.80.0090.00316.67
7.2.70.0030.01317.00
7.2.60.0090.00516.64
7.2.50.0090.00616.81
7.2.40.0030.01217.02
7.2.30.0060.00916.73
7.2.20.0090.00316.96
7.2.10.0070.01017.08
7.2.00.0060.01117.27
7.1.250.0040.00815.73
7.1.200.0030.00915.36
7.1.130.0140.00716.43
7.1.120.0490.01016.29
7.1.110.0060.00915.77
7.1.100.0090.00915.97
7.1.90.0550.01315.83
7.1.80.0490.01016.03
7.1.70.0120.00815.33
7.1.60.0420.02333.11
7.1.50.0540.01032.96
7.1.40.0480.01632.66
7.1.30.0520.01332.63
7.1.20.0590.01032.54
7.1.10.0130.00314.70
7.1.00.0360.00714.79

preferences:
59.7 ms | 401 KiB | 5 Q