3v4l.org

run code in 300+ PHP versions simultaneously
<?php function __autoload ($class) { exit ("class " . $class); } // output class foo- // it works on php 5.3 // but doesn't works on php 5.4 $class = 'http://lol/123.php'; new $class();

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.70.0110.01116.75
8.3.60.0120.00916.63
8.3.50.0140.00421.97
8.3.40.0150.00318.52
8.3.30.0140.00018.65
8.3.20.0040.00420.26
8.3.10.0070.00023.48
8.3.00.0080.00019.82
8.2.190.0170.00316.58
8.2.180.0100.00718.36
8.2.170.0100.00722.96
8.2.160.0100.00720.31
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00620.85
8.2.120.0070.00426.35
8.2.110.0090.00021.08
8.2.100.0160.00017.66
8.2.90.0050.00319.22
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0030.00517.91
8.2.50.0000.00818.10
8.2.40.0040.00421.10
8.2.30.0040.00420.52
8.2.20.0000.00717.54
8.2.10.0070.00017.83
8.2.00.0040.00417.98
8.1.280.0070.00725.92
8.1.270.0040.00418.75
8.1.260.0040.00428.09
8.1.250.0050.00228.09
8.1.240.0000.00923.95
8.1.230.0070.00419.23
8.1.220.0050.00517.74
8.1.210.0000.00918.77
8.1.200.0060.00317.22
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0080.00018.59
8.1.160.0070.00020.55
8.1.150.0040.00418.62
8.1.140.0000.00819.48
8.1.130.0030.00317.48
8.1.120.0040.00417.33
8.1.110.0060.00317.34
8.1.100.0080.00017.36
8.1.90.0030.00617.19
8.1.80.0040.00417.33
8.1.70.0070.00017.30
8.1.60.0000.00817.34
8.1.50.0080.00017.29
8.1.40.0030.00517.27
8.1.30.0030.00517.47
8.1.20.0070.00017.49
8.1.10.0000.00717.46
8.1.00.0030.00617.20
8.0.300.0030.00318.77
8.0.290.0000.00716.63
8.0.280.0030.00418.31
8.0.270.0070.00017.12
8.0.260.0000.00817.13
8.0.250.0040.00416.80
8.0.240.0040.00416.72
8.0.230.0030.00316.80
8.0.220.0000.00716.82
8.0.210.0000.00716.68
8.0.200.0060.00016.80
8.0.190.0070.00016.78
8.0.180.0000.00716.72
8.0.170.0000.00716.83
8.0.160.0030.00316.83
8.0.150.0030.00316.79
8.0.140.0030.00616.76
8.0.130.0070.00013.20
8.0.120.0000.00816.64
8.0.110.0050.00216.84
8.0.100.0080.00016.79
8.0.90.0030.00316.76
8.0.80.0100.00616.81
8.0.70.0040.00416.65
8.0.60.0040.00416.72
8.0.50.0030.00316.91
8.0.30.0120.00716.94
8.0.20.0150.00517.40
8.0.10.0080.00016.88
8.0.00.0100.00716.64
7.4.330.0000.00516.79
7.4.320.0000.00616.52
7.4.300.0030.00316.59
7.4.290.0000.00716.56
7.4.280.0000.00816.61
7.4.270.0030.00316.48
7.4.260.0040.00716.37
7.4.250.0000.00716.54
7.4.240.0050.00216.51
7.4.230.0070.00016.39
7.4.220.0130.01316.51
7.4.210.0110.00416.48
7.4.200.0040.00416.51
7.4.160.0030.01316.57
7.4.150.0120.00617.40
7.4.140.0080.01217.86
7.4.130.0090.01116.47
7.4.120.0110.00516.52
7.4.110.0000.01716.70
7.4.100.0120.00616.42
7.4.90.0140.00416.39
7.4.80.0120.00619.39
7.4.70.0080.00816.49
7.4.60.0060.01016.58
7.4.50.0030.01016.48
7.4.40.0070.01416.43
7.4.30.0070.01016.45
7.4.00.0110.00414.91
7.3.330.0000.00513.33
7.3.320.0030.00313.38
7.3.310.0000.00716.46
7.3.300.0050.00216.22
7.3.290.0100.00616.38
7.3.280.0070.01116.33
7.3.270.0070.01017.40
7.3.260.0090.01516.41
7.3.250.0090.01116.43
7.3.240.0110.00616.49
7.3.230.0100.00616.52
7.3.210.0060.01216.46
7.3.200.0230.00016.33
7.3.190.0060.01016.34
7.3.180.0110.00616.75
7.3.170.0170.00316.39
7.3.160.0130.00316.45
7.2.330.0110.00716.47
7.2.320.0090.01216.62
7.2.310.0000.01716.39
7.2.300.0060.01116.50
7.2.290.0130.00416.52
7.2.60.0040.01116.64
7.2.00.0040.00719.05
7.1.200.0100.00315.74
7.1.100.0000.01118.21
7.1.70.0050.00217.13
7.1.60.0140.00719.50
7.1.50.0040.01116.78
7.1.00.0000.08022.35
7.0.200.0040.00416.50
7.0.60.0100.08320.03
7.0.50.0030.04017.85
7.0.40.0100.07020.18
7.0.30.0300.08020.07
7.0.20.0200.04020.16
7.0.10.0100.08020.33
7.0.00.0070.07320.16
5.6.280.0000.04021.08
5.6.210.0130.08020.48
5.6.200.0070.08718.18
5.6.190.0030.06020.50
5.6.180.0400.03720.46
5.6.170.0200.08720.47
5.6.160.0130.08020.54
5.6.150.0130.06718.19
5.6.140.0030.08018.17
5.6.130.0070.06718.18
5.6.120.0100.08320.97
5.6.110.0100.04021.03
5.6.100.0000.04720.98
5.6.90.0070.06321.13
5.6.80.0070.08020.38
5.5.350.0070.05020.52
5.5.340.0030.08318.02
5.5.330.0100.04020.27
5.5.320.0000.08720.38
5.5.310.0200.04020.27
5.5.300.0130.05717.95
5.5.290.0070.07017.98
5.5.280.0030.05720.76
5.5.270.0000.05320.64
5.5.260.0100.08020.81
5.5.250.0030.08320.69
5.5.240.0300.06320.04

preferences:
57.99 ms | 401 KiB | 5 Q