3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a {} $a=new a; $aa=new a; $aaa=new a; echo(spl_object_hash($a)."\n".spl_object_hash($aa)."\n".spl_object_hash($aaa)."\n");

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.00716.38
8.3.50.0070.00716.34
8.3.40.0070.00718.70
8.3.30.0100.00518.57
8.3.20.0000.00720.30
8.3.10.0080.00023.65
8.3.00.0060.00317.53
8.2.180.0120.00616.50
8.2.170.0070.00722.96
8.2.160.0100.00320.35
8.2.150.0070.00024.18
8.2.140.0000.00924.66
8.2.130.0030.00521.13
8.2.120.0050.00226.35
8.2.110.0040.00720.93
8.2.100.0080.00318.16
8.2.90.0050.00319.05
8.2.80.0000.00717.97
8.2.70.0000.00817.50
8.2.60.0050.00318.04
8.2.50.0000.00918.10
8.2.40.0070.00020.58
8.2.30.0050.00320.91
8.2.20.0000.00718.12
8.2.10.0070.00018.03
8.2.00.0000.00817.96
8.1.280.0150.00425.92
8.1.270.0040.00423.88
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0060.00323.79
8.1.230.0080.00420.61
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0090.00017.35
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0040.00418.47
8.1.160.0030.00318.93
8.1.150.0040.00418.92
8.1.140.0030.00519.58
8.1.130.0030.00318.77
8.1.120.0000.00817.32
8.1.110.0000.00917.40
8.1.100.0040.00417.36
8.1.90.0040.00417.45
8.1.80.0030.00417.47
8.1.70.0000.00717.46
8.1.60.0030.00617.47
8.1.50.0080.00017.43
8.1.40.0040.00417.46
8.1.30.0080.00017.63
8.1.20.0040.00417.67
8.1.10.0040.00417.46
8.1.00.0040.00417.39
8.0.300.0080.00018.77
8.0.290.0080.00016.75
8.0.280.0030.00318.44
8.0.270.0000.00717.25
8.0.260.0030.00316.81
8.0.250.0000.00716.84
8.0.240.0000.00716.87
8.0.230.0090.00016.94
8.0.220.0000.00716.73
8.0.210.0000.00716.86
8.0.200.0040.00416.89
8.0.190.0040.00816.84
8.0.180.0030.00316.83
8.0.170.0030.00616.80
8.0.160.0050.00216.85
8.0.150.0040.00416.79
8.0.140.0040.00416.82
8.0.130.0060.00013.27
8.0.120.0040.00416.75
8.0.110.0040.00416.92
8.0.100.0000.00716.75
8.0.90.0040.00416.95
8.0.80.0100.01416.87
8.0.70.0080.00016.78
8.0.60.0000.00816.84
8.0.50.0080.00016.71
8.0.30.0110.01116.98
8.0.20.0130.00817.40
8.0.10.0000.00816.93
8.0.00.0160.00716.66
7.4.330.0000.00515.55
7.4.320.0030.00316.61
7.4.300.0030.00316.59
7.4.290.0030.00316.59
7.4.280.0080.00016.50
7.4.270.0060.00016.51
7.4.260.0030.00313.16
7.4.250.0000.00816.53
7.4.240.0080.00016.60
7.4.230.0070.00016.43
7.4.220.0120.00616.50
7.4.210.0050.01316.51
7.4.200.0030.00316.46
7.4.160.0130.00216.54
7.4.150.0110.00517.40
7.4.140.0090.01117.86
7.4.130.0120.00616.48
7.4.120.0080.00916.55
7.4.110.0150.00716.39
7.4.100.0110.01416.45
7.4.90.0100.00716.35
7.4.80.0090.00919.39
7.4.70.0170.00016.59
7.4.60.0100.00716.46
7.4.50.0040.01116.47
7.4.40.0030.01316.35
7.4.30.0060.01216.52
7.4.00.0030.01014.94
7.3.330.0020.00213.30
7.3.320.0020.00213.23
7.3.310.0030.00316.08
7.3.300.0030.00316.20
7.3.290.0070.00016.23
7.3.280.0070.00916.21
7.3.270.0060.00917.40
7.3.260.0120.00816.51
7.3.250.0130.00616.22
7.3.240.0080.00816.20
7.3.230.0000.01716.32
7.3.210.0130.00316.52
7.3.200.0080.00816.25
7.3.190.0090.00616.49
7.3.180.0100.00716.23
7.3.170.0090.00616.21
7.3.160.0100.00716.55
7.2.330.0140.00316.70
7.2.320.0000.02116.59
7.2.310.0000.01616.38
7.2.300.0100.00616.69
7.2.290.0030.01316.81
7.2.60.0060.00616.83
7.2.00.0060.00919.35
7.1.200.0060.00315.54
7.1.100.0030.00818.07
7.1.70.0100.01315.38
7.1.60.0220.01332.91
7.1.50.0230.01332.98
7.1.40.0320.00732.56
7.1.30.0290.00732.53
7.1.20.0240.01432.84
7.1.10.0070.01016.75
7.1.00.0100.01016.36
7.0.200.0150.00615.00
7.0.190.0120.00814.74
7.0.180.0140.00714.30
7.0.170.0110.01114.26
7.0.160.0160.00614.10
7.0.150.0080.00616.14
7.0.140.0000.01216.28
7.0.130.0070.00716.54
7.0.120.0060.00916.32
7.0.110.0090.00616.25
7.0.100.0070.00716.24
7.0.90.0040.01316.28
7.0.80.0030.01016.17
7.0.70.0060.00916.09
7.0.60.0100.01016.05
7.0.50.0060.00916.51
7.0.40.0030.01316.45
7.0.30.0070.00716.32
7.0.20.0070.00716.40
7.0.10.0000.01216.36
7.0.00.0070.00716.36

preferences:
41.56 ms | 401 KiB | 5 Q