3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; define('\true', false); function test() { var_dump(true); } foo::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.40.0090.00618.66
8.3.30.0120.00318.85
8.3.20.0040.00420.29
8.3.10.0100.00323.61
8.3.00.0070.00021.74
8.2.170.0110.00422.96
8.2.160.0100.00320.38
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0070.00021.12
8.2.120.0080.00026.35
8.2.110.0060.00320.42
8.2.100.0080.00417.66
8.2.90.0040.00417.75
8.2.80.0030.00518.61
8.2.70.0060.00317.67
8.2.60.0040.00718.09
8.2.50.0080.00018.10
8.2.40.0040.00421.07
8.2.30.0090.00019.22
8.2.20.0000.00917.62
8.2.10.0050.00217.87
8.2.00.0070.00017.98
8.1.270.0040.01122.20
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0100.00623.77
8.1.230.0060.00620.97
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0120.00019.01
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0000.00818.53
8.1.160.0000.00718.89
8.1.150.0040.00418.84
8.1.140.0000.00719.32
8.1.130.0050.00317.56
8.1.120.0000.00817.35
8.1.110.0040.00417.33
8.1.100.0040.00417.35
8.1.90.0030.00717.37
8.1.80.0000.00817.32
8.1.70.0070.00017.27
8.1.60.0080.00017.50
8.1.50.0030.00517.45
8.1.40.0000.00817.46
8.1.30.0030.00617.69
8.1.20.0070.00017.56
8.1.10.0070.00017.41
8.1.00.0000.00817.47
8.0.300.0040.00418.91
8.0.290.0000.00716.63
8.0.280.0040.00418.28
8.0.270.0040.00417.18
8.0.260.0060.00017.06
8.0.250.0040.00416.95
8.0.240.0040.00416.83
8.0.230.0030.00316.84
8.0.220.0000.00716.93
8.0.210.0000.00716.75
8.0.200.0040.00416.93
8.0.190.0000.00716.93
8.0.180.0000.00716.80
8.0.170.0080.00016.95
8.0.160.0040.00416.80
8.0.150.0090.00016.94
8.0.140.0070.00016.81
8.0.130.0000.00713.36
8.0.120.0030.00516.81
8.0.110.0040.00416.83
8.0.100.0000.00716.94
8.0.90.0000.00716.88
8.0.80.0070.00716.96
8.0.70.0040.00416.94
8.0.60.0000.00716.91
8.0.50.0030.00316.71
8.0.30.0120.00517.01
8.0.20.0090.00917.40
8.0.10.0000.00716.81
8.0.00.0090.00916.74
7.4.330.0030.00316.66
7.4.320.0000.00716.54
7.4.300.0030.00316.48
7.4.290.0000.00816.51
7.4.280.0070.00016.41
7.4.270.0030.00316.55
7.4.260.0000.00816.45
7.4.250.0080.00016.41
7.4.240.0000.00716.38
7.4.230.0060.00016.52
7.4.220.0130.00716.63
7.4.210.0070.00716.59
7.4.200.0070.00016.34
7.4.160.0040.01116.50
7.4.150.0070.01017.40
7.4.140.0110.01017.86
7.4.130.0120.00516.57
7.4.120.0080.00916.50
7.4.110.0130.00516.50
7.4.100.0090.00916.49
7.4.90.0120.01116.49
7.4.80.0060.01219.39
7.4.70.0070.01016.50
7.4.60.0110.01016.32
7.4.50.0060.00616.54
7.4.40.0070.00716.36
7.4.30.0170.00016.52
7.4.00.0090.00714.85
7.3.330.0000.00513.16
7.3.320.0000.00613.29
7.3.310.0040.00416.39
7.3.300.0070.00016.12
7.3.290.0070.00016.33
7.3.280.0150.00316.31
7.3.270.0110.00717.40
7.3.260.0030.01516.23
7.3.250.0090.00816.38
7.3.240.0100.00716.30
7.3.230.0090.00916.52
7.3.210.0170.00016.46
7.3.200.0140.00719.39
7.3.190.0100.01016.29
7.3.180.0080.01116.37
7.3.170.0130.00616.27
7.3.160.0120.00416.45
7.3.120.0030.01314.78
7.3.110.0040.01414.93
7.3.100.0060.00914.99
7.3.90.0120.00314.98
7.3.80.0110.00414.69
7.3.70.0100.00714.93
7.3.60.0140.00014.71
7.3.50.0060.00914.62
7.3.40.0060.00914.82
7.3.30.0060.01014.63
7.3.20.0090.00616.39
7.3.10.0130.00316.40
7.3.00.0100.00316.58
7.2.330.0130.00316.21
7.2.320.0060.01216.59
7.2.310.0180.00316.28
7.2.300.0170.00016.52
7.2.290.0150.00616.36
7.2.250.0070.01314.74
7.2.240.0100.01014.89
7.2.230.0060.00914.76
7.2.220.0100.00014.70
7.2.210.0040.00814.93
7.2.200.0030.01314.84
7.2.190.0100.00314.66
7.2.180.0030.01414.67
7.2.170.0030.00914.61
7.2.60.0030.01316.61
7.2.00.0100.00319.24
7.1.330.0100.00315.64
7.1.320.0060.00915.41
7.1.310.0070.01015.61
7.1.300.0060.00315.44
7.1.290.0140.00015.62
7.1.280.0060.00315.58
7.1.270.0070.00715.63
7.1.260.0080.00315.66
7.1.200.0030.00715.57
7.1.100.0030.00717.78
7.1.70.0000.00717.07
7.1.60.0070.01719.40
7.1.50.0030.01716.52
7.1.00.0070.07322.43
7.0.200.0030.00616.49
7.0.60.0000.08321.83
7.0.50.0230.06017.88
7.0.40.0130.07719.96
7.0.30.0270.08020.20
7.0.20.0370.07020.15
7.0.10.0170.07020.19
7.0.00.0070.04320.07
5.6.280.0000.07321.08
5.6.210.0070.05720.46
5.6.200.0100.07718.29
5.6.190.0030.08720.47
5.6.180.0270.05720.48
5.6.170.0330.07720.55
5.6.160.0030.04320.39
5.6.150.0130.05718.29
5.6.140.0030.07718.18
5.6.130.0100.07718.17
5.6.120.0100.08320.95
5.6.110.0030.09320.92
5.6.100.0100.08021.11
5.6.90.0030.07721.13
5.6.80.0030.04020.53
5.5.350.4330.04020.45
5.5.340.0170.06017.93
5.5.330.0100.07320.32
5.5.320.0670.06020.32
5.5.310.0200.04320.33
5.5.300.0100.07018.08
5.5.290.0100.04017.98
5.5.280.0130.06320.88
5.5.270.0100.08020.82
5.5.260.0070.06020.64
5.5.250.0000.05720.45
5.5.240.0230.07320.29

preferences:
49.95 ms | 400 KiB | 5 Q