3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register('parse_str'); function test() { $FooBar = 1; echo 'e'.class_exists('FooBar'); var_dump($FooBar); } test();

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.01016.50
8.3.50.0180.00416.25
8.3.40.0090.00618.75
8.3.30.0120.00318.89
8.3.20.0040.00418.76
8.3.10.0050.00321.77
8.3.00.0050.00318.03
8.2.180.0040.01516.63
8.2.170.0090.00622.96
8.2.160.0150.00021.00
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0000.00917.91
8.2.120.0050.00226.35
8.2.110.0060.00321.96
8.2.100.0030.01017.50
8.2.90.0040.00419.05
8.2.80.0060.00317.97
8.2.70.0050.00317.63
8.2.60.0030.00517.90
8.2.50.0030.00618.07
8.2.40.0030.00518.09
8.2.30.0000.00818.13
8.2.20.0040.00417.70
8.2.10.0040.00418.04
8.2.00.0030.00618.05
8.1.280.0150.00325.92
8.1.270.0000.00723.99
8.1.260.0080.00028.09
8.1.250.0050.00228.09
8.1.240.0000.00923.82
8.1.230.0110.00017.42
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0000.00917.23
8.1.180.0000.00718.10
8.1.170.0060.00320.34
8.1.160.0000.00722.01
8.1.150.0040.00418.79
8.1.140.0030.00319.62
8.1.130.0030.00317.59
8.1.120.0050.00317.43
8.1.110.0050.00517.41
8.1.100.0070.00017.29
8.1.90.0040.00417.43
8.1.80.0000.00817.43
8.1.70.0000.00717.31
8.1.60.0040.00417.54
8.1.50.0040.00417.46
8.1.40.0000.00817.42
8.1.30.0000.00817.54
8.1.20.0000.00717.48
8.1.10.0060.00317.46
8.1.00.0040.00417.39
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.31
8.0.270.0070.00018.04
8.0.260.0030.00617.05
8.0.250.0040.00416.93
8.0.240.0040.00416.83
8.0.230.0070.00016.98
8.0.220.0030.00516.93
8.0.210.0080.00016.88
8.0.200.0050.00216.92
8.0.190.0030.00516.99
8.0.180.0070.00016.80
8.0.170.0000.00816.80
8.0.160.0000.00716.74
8.0.150.0080.00016.82
8.0.140.0040.00416.86
8.0.130.0030.00313.25
8.0.120.0000.00716.88
8.0.110.0000.00716.82
8.0.100.0000.00716.78
8.0.90.0080.00016.70
8.0.80.0130.00816.88
8.0.70.0080.00016.89
8.0.60.0080.00016.93
8.0.50.0080.00016.96
8.0.30.0110.00617.03
8.0.20.0090.01417.40
8.0.10.0040.00416.91
8.0.00.0150.00416.73
7.4.330.0050.00015.08
7.4.320.0000.00616.54
7.4.300.0060.00016.45
7.4.290.0030.00316.60
7.4.280.0070.00016.61
7.4.270.0110.00016.54
7.4.260.0040.00416.58
7.4.250.0040.00416.46
7.4.240.0030.00316.48
7.4.230.0030.00316.69
7.4.220.0100.00716.53
7.4.210.0110.00316.60
7.4.200.0000.00716.52
7.4.160.0040.01116.34
7.4.150.0210.01917.40
7.4.140.0140.00817.86
7.4.130.0120.00516.51
7.4.120.0060.01116.59
7.4.110.0150.00616.59
7.4.100.0170.00016.65
7.4.90.0130.00316.51
7.4.80.0030.01819.39
7.4.70.0090.00916.54
7.4.60.0030.01316.68
7.4.50.0030.01116.39
7.4.40.0100.00616.49
7.4.30.0090.00916.45
7.4.00.0060.01114.87
7.3.330.0000.00513.30
7.3.320.0050.00013.13
7.3.310.0070.00016.30
7.3.300.0050.00216.34
7.3.290.0060.00816.28
7.3.280.0080.01116.34
7.3.270.0070.01017.40
7.3.260.0130.00816.31
7.3.250.0090.01116.40
7.3.240.0110.00616.54
7.3.230.0140.00316.39
7.3.210.0070.01016.45
7.3.200.0070.01016.57
7.3.190.0120.00416.43
7.3.180.0150.00316.50
7.3.170.0100.00616.51
7.3.160.0100.00916.37
7.3.120.0050.01314.78
7.3.110.0080.00714.66
7.3.100.0070.00914.46
7.3.90.0050.00814.82
7.3.80.0050.00814.52
7.3.70.0050.01214.61
7.3.60.0050.00914.68
7.3.50.0040.00914.77
7.3.40.0060.00614.82
7.3.30.0050.00614.83
7.3.20.0050.00816.68
7.3.10.0080.00516.73
7.3.00.0060.00816.64
7.2.330.0030.01516.70
7.2.320.0070.01016.48
7.2.310.0030.01316.59
7.2.300.0090.00916.32
7.2.290.0030.01616.73
7.2.250.0050.01314.91
7.2.240.0060.01114.87
7.2.230.0020.01614.97
7.2.220.0050.01214.69
7.2.210.0030.01214.78
7.2.200.0070.00515.12
7.2.190.0070.00714.77
7.2.180.0040.00714.79
7.2.170.0030.01214.93
7.2.60.0030.00916.85
7.2.50.0060.00316.86
7.2.00.0060.00619.44
7.1.330.0090.00615.63
7.1.320.0050.00715.83
7.1.310.0060.00615.53
7.1.300.0050.00515.39
7.1.290.0080.00615.63
7.1.280.0080.00615.75
7.1.270.0080.00415.80
7.1.260.0040.00915.67
7.1.200.0070.00315.59
7.1.70.0030.00317.32
7.1.60.0090.01519.32
7.1.50.0060.01916.64
7.1.00.0070.07322.43
7.0.200.0040.01216.75
7.0.60.0200.07021.73
7.0.50.0170.06020.45
7.0.40.0200.05320.29
7.0.30.0200.05720.25
7.0.20.0170.05320.43
7.0.10.0200.05320.35
7.0.00.0100.06320.20
5.6.280.0070.06720.82
5.6.210.0100.03320.77
5.6.200.0270.05021.05
5.6.190.0200.05721.04
5.6.180.0200.06021.03
5.6.170.0100.06321.07
5.6.160.0130.05721.18
5.6.150.0170.05721.02
5.6.140.0100.05721.06
5.6.130.0100.07721.07
5.6.120.0130.05721.05
5.6.110.0200.05721.05
5.6.100.0300.04721.04
5.6.90.0230.05321.04
5.6.80.0200.05320.48
5.6.70.0230.05020.45
5.6.60.0230.04720.41
5.6.50.0200.05020.51
5.6.40.0130.05320.41
5.6.30.0170.05320.48
5.6.20.0200.05320.56
5.6.10.0200.05320.39
5.6.00.0170.05320.38
5.5.350.0000.08720.43
5.5.340.0200.05720.88
5.5.330.0330.04320.77
5.5.320.0130.06320.85
5.5.310.0270.04720.88
5.5.300.0070.06020.88
5.5.290.0200.05020.87
5.5.280.0200.05320.75
5.5.270.0270.05020.84
5.5.260.0200.05720.79
5.5.250.0230.05020.53
5.5.240.0170.05320.39
5.5.230.0200.05320.22
5.5.220.0200.05720.20
5.5.210.0100.06720.38
5.5.200.0200.04720.22
5.5.190.0200.05720.23
5.5.180.0270.05020.07
5.5.160.0200.05320.10
5.5.150.0230.04720.18
5.5.140.0200.05020.18
5.5.130.0200.05020.12
5.5.120.0130.05320.39
5.5.110.0170.05320.18
5.5.100.0170.06020.25
5.5.90.0170.05320.28
5.5.80.0330.04020.17
5.5.70.0270.04320.18
5.5.60.0170.05720.07
5.5.50.0170.05320.11
5.5.40.0030.06320.10
5.5.30.0170.05320.06
5.5.20.0130.05020.04
5.5.10.0130.05320.08
5.5.00.0130.05320.08

preferences:
62.96 ms | 401 KiB | 5 Q