3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = new class { }; $class = get_class($o); $b = new $class(); var_dump($b);

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.0120.00316.63
8.3.50.0050.01421.93
8.3.40.0120.00618.59
8.3.30.0060.00918.59
8.3.20.0000.00720.34
8.3.10.0040.00423.33
8.3.00.0040.00419.15
8.2.180.0110.00716.38
8.2.170.0070.01022.96
8.2.160.0090.00920.38
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0060.00320.35
8.2.120.0080.00026.35
8.2.110.0030.00621.07
8.2.100.0090.00317.90
8.2.90.0000.00819.27
8.2.80.0040.00417.97
8.2.70.0060.00317.46
8.2.60.0080.00017.79
8.2.50.0080.00018.07
8.2.40.0040.00419.34
8.2.30.0050.00320.46
8.2.20.0050.00517.73
8.2.10.0040.00417.96
8.2.00.0000.00717.93
8.1.280.0070.01425.92
8.1.270.0080.00023.83
8.1.260.0000.00728.09
8.1.250.0080.00028.09
8.1.240.0090.00023.84
8.1.230.0040.00718.91
8.1.220.0050.00317.79
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.42
8.1.180.0000.00818.10
8.1.170.0060.00318.59
8.1.160.0000.00721.96
8.1.150.0000.00718.84
8.1.140.0040.00419.49
8.1.130.0030.00317.69
8.1.120.0000.00817.46
8.1.110.0070.00017.35
8.1.100.0000.01117.35
8.1.90.0000.00717.31
8.1.80.0050.00217.46
8.1.70.0050.00217.35
8.1.60.0000.00717.59
8.1.50.0050.00317.52
8.1.40.0090.00317.36
8.1.30.0080.00017.54
8.1.20.0020.00517.48
8.1.10.0040.00417.42
8.1.00.0030.00517.48
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0070.00018.35
8.0.270.0000.00717.29
8.0.260.0030.00317.25
8.0.250.0030.00316.85
8.0.240.0000.00716.97
8.0.230.0030.00316.93
8.0.220.0030.00316.86
8.0.210.0000.00716.77
8.0.200.0060.00016.86
8.0.190.0080.00016.83
8.0.180.0000.00716.91
8.0.170.0040.00416.95
8.0.160.0000.00716.95
8.0.150.0050.00216.74
8.0.140.0000.00716.86
8.0.130.0050.00013.35
8.0.120.0040.00416.88
8.0.110.0040.00416.77
8.0.100.0070.00016.90
8.0.90.0040.00416.75
8.0.80.0000.01416.76
8.0.70.0030.00517.00
8.0.60.0020.00516.72
8.0.50.0000.00816.81
8.0.30.0070.01016.98
8.0.20.0090.00917.40
8.0.10.0000.00817.06
8.0.00.0110.00916.77
7.4.330.0000.00516.70
7.4.320.0070.00016.64
7.4.300.0000.00716.49
7.4.290.0000.00716.59
7.4.280.0040.00416.59
7.4.270.0060.00016.48
7.4.260.0000.00816.43
7.4.250.0030.00316.44
7.4.240.0030.00516.46
7.4.230.0000.00716.33
7.4.220.0060.01216.70
7.4.210.0090.00716.57
7.4.200.0030.00316.59
7.4.160.0150.00016.40
7.4.150.0090.00917.40
7.4.140.0120.00817.86
7.4.130.0130.00416.45
7.4.120.0090.00716.54
7.4.110.0060.01316.57
7.4.100.0110.00616.54
7.4.90.0100.00716.53
7.4.80.0090.01319.39
7.4.70.0060.01016.45
7.4.60.0070.01016.40
7.4.50.0090.00616.63
7.4.40.0150.00616.50
7.4.30.0140.00316.46
7.4.00.0070.01014.92
7.3.330.0030.00313.23
7.3.320.0000.00513.23
7.3.310.0050.00216.05
7.3.300.0040.00416.14
7.3.290.0030.00316.20
7.3.280.0120.00416.25
7.3.270.0070.01017.40
7.3.260.0060.01016.42
7.3.250.0130.01016.46
7.3.240.0120.00816.28
7.3.230.0180.00016.39
7.3.210.0090.00916.60
7.3.200.0090.00916.23
7.3.190.0120.00416.14
7.3.180.0100.00616.40
7.3.170.0130.00716.49
7.3.160.0100.00716.28
7.2.330.0120.00416.68
7.2.320.0090.00916.55
7.2.310.0130.00316.35
7.2.300.0090.01216.30
7.2.290.0160.00016.50
7.2.60.0000.01216.66
7.2.00.0060.00619.39
7.1.200.0000.01415.73
7.1.100.0040.00818.04
7.1.70.0090.00616.89
7.1.60.0100.01019.36
7.1.50.0110.01416.58
7.1.00.0100.07022.37
7.0.200.0000.00916.91
7.0.60.0100.06019.95
7.0.50.0130.07317.95
7.0.40.0070.04320.40
7.0.30.0230.04320.10
7.0.20.0570.06320.15
7.0.10.0000.05020.06
7.0.00.0070.04020.25
5.6.280.0030.06721.02
5.6.210.0130.04720.64
5.6.200.0070.08018.25
5.6.190.0070.05320.46
5.6.180.0430.05020.47
5.6.170.0230.08020.47
5.6.160.0100.06320.54
5.6.150.0130.07318.12
5.6.140.0170.07318.23
5.6.130.0070.07718.23
5.6.120.0030.09021.15
5.6.110.0000.04720.96
5.6.100.0170.06720.96
5.6.90.0030.07021.01
5.6.80.0070.05720.27
5.5.350.0170.08020.38
5.5.340.0100.07018.08
5.5.330.0170.05020.35
5.5.320.0000.04320.34
5.5.310.0300.07320.29
5.5.300.0100.08017.97
5.5.290.0170.06318.03
5.5.280.0130.06320.97
5.5.270.0030.04020.96
5.5.260.0100.03320.75
5.5.250.0100.08320.43
5.5.240.0270.07020.34

preferences:
38.07 ms | 401 KiB | 5 Q