3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; define('TRUE', false); var_dump(TRUE); # false

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.1.70.0040.00417.21
8.1.60.0030.00517.35
8.1.50.0040.00417.30
8.1.40.0040.00417.39
8.1.30.0060.00317.46
8.1.20.0070.00417.54
8.1.10.0050.00217.38
8.1.00.0040.00417.27
8.0.200.0000.00616.86
8.0.190.0000.00716.90
8.0.180.0080.00016.84
8.0.170.0000.00716.75
8.0.160.0000.00716.78
8.0.150.0090.00016.75
8.0.140.0040.00416.71
8.0.130.0040.00413.22
8.0.120.0000.00816.82
8.0.110.0040.00416.79
8.0.100.0030.00316.88
8.0.90.0000.00716.65
8.0.80.0030.01016.88
8.0.70.0080.00016.86
8.0.60.0040.00416.72
8.0.50.0000.01016.84
8.0.30.0080.01316.87
8.0.20.0090.01117.40
8.0.10.0000.00816.97
8.0.00.0100.00616.62
7.4.300.0020.00516.28
7.4.290.0000.00716.39
7.4.280.0040.00416.45
7.4.270.0080.00016.46
7.4.260.0000.00816.39
7.4.250.0070.00016.46
7.4.240.0030.00416.42
7.4.230.0040.00416.51
7.4.220.0070.01516.38
7.4.210.0060.00916.46
7.4.200.0030.00616.54
7.4.160.0120.00316.40
7.4.150.0390.02717.40
7.4.140.0190.01517.86
7.4.130.0130.01716.38
7.4.120.0110.00716.16
7.4.110.0080.00816.41
7.4.100.0110.00716.48
7.4.90.0130.00316.23
7.4.80.0160.00019.39
7.4.70.0060.00916.28
7.4.60.0130.00316.56
7.4.50.0000.00716.36
7.4.40.0050.01116.34
7.4.30.0090.00616.25
7.4.00.0030.01214.69
7.3.330.0070.00012.98
7.3.320.0030.00312.97
7.3.310.0000.00616.06
7.3.300.0070.00016.16
7.3.290.0100.00316.07
7.3.280.0100.00616.10
7.3.270.0140.00417.40
7.3.260.0150.00916.10
7.3.240.0140.00416.06
7.3.230.0130.00316.39
7.3.210.0070.01416.27
7.3.200.0190.00319.39
7.3.190.0080.00816.43
7.3.180.0080.00816.09
7.3.170.0040.01216.27
7.3.160.0090.00616.38
7.2.330.0100.01316.46
7.2.320.0090.00916.57
7.2.310.0070.01016.39
7.2.300.0160.00616.39
7.2.290.0120.00616.51
7.2.60.0070.00716.52
7.2.00.0000.01419.21
7.1.200.0100.00315.70
7.1.100.0160.01015.82
7.1.70.0030.00616.91
7.1.60.0060.00919.40
7.1.50.0100.01316.81
7.1.00.0030.07722.31
7.0.200.0000.00716.45
7.0.140.0070.07022.07
7.0.110.0130.03320.04
7.0.100.0070.06719.83
7.0.90.0100.03719.83
7.0.80.0100.10019.95
7.0.70.0170.04719.95
7.0.60.0230.04319.99
7.0.50.0170.06319.78
7.0.40.0000.10019.86
7.0.30.0070.07019.73
7.0.20.0030.07319.73
7.0.10.0030.03719.65
7.0.00.0170.02719.74
5.6.280.0030.07321.14
5.6.260.0200.06320.69
5.6.250.0000.05020.67
5.6.240.0170.04020.69
5.6.230.0030.04320.60
5.6.220.0070.05320.67
5.6.210.0100.03320.39
5.6.200.0100.04720.61
5.6.190.0130.04720.64
5.6.180.0100.05720.66
5.6.170.0070.04320.86
5.6.160.0100.07320.70
5.6.150.0100.06020.61
5.6.140.0170.06720.64
5.6.130.0000.09020.61
5.6.120.0030.07320.70
5.6.110.0100.08020.57
5.6.100.0100.08020.59
5.6.90.0100.07020.68
5.6.80.0130.06320.02
5.6.70.0100.05719.96
5.6.60.0000.04319.84
5.6.50.0070.08320.00
5.6.40.0030.05019.98
5.6.30.0130.07319.94
5.6.20.0100.07719.92
5.6.10.0170.05719.91
5.6.00.0030.05720.06
5.5.380.0000.04317.56
5.5.370.0030.05717.40
5.5.360.0000.04717.50
5.5.350.0030.04017.48
5.5.340.0030.04317.86
5.5.330.0100.03018.16
5.5.320.0170.07017.77
5.5.310.0070.06717.77
5.5.300.0000.04718.02
5.5.290.0100.08018.02
5.5.280.0070.07017.85
5.5.270.0100.08017.98
5.5.260.0030.06317.84
5.5.250.0100.08017.93
5.5.240.0030.07717.54
5.5.230.0030.07317.48
5.5.220.0070.06717.28
5.5.210.0100.07317.50
5.5.200.0100.06317.36
5.5.190.0200.05017.52
5.5.180.0100.07017.12
5.5.160.0100.08017.24
5.5.150.0070.07017.23
5.5.140.0030.07317.45
5.5.130.0070.09017.45
5.5.120.0030.06717.37
5.5.110.0000.08717.44
5.5.100.0100.06317.02
5.5.90.0100.06317.11
5.5.80.0070.06317.27
5.5.70.0100.05017.27
5.5.60.0100.06017.34
5.5.50.0100.04017.27
5.5.40.0170.06317.12
5.5.30.0130.05317.25
5.5.20.0030.07317.02
5.5.10.0030.04017.48
5.5.00.0030.06017.36
5.4.450.0070.05319.33
5.4.440.0070.04719.36
5.4.430.0100.03719.42
5.4.420.0170.02319.44
5.4.410.0170.05319.21
5.4.400.0130.03019.17
5.4.390.0030.04719.04
5.4.380.0070.03719.10
5.4.370.0070.07019.12
5.4.360.0030.05719.10
5.4.350.0200.05719.12
5.4.340.0070.06319.27
5.4.320.0130.06719.14
5.4.310.0100.05719.01
5.4.300.0170.05319.16
5.4.290.0000.06319.11
5.4.280.0130.03019.02
5.4.270.0070.07318.98
5.4.260.0000.04318.95
5.4.250.0100.06319.27
5.4.240.0100.07019.30
5.4.230.0070.04019.02
5.4.220.0070.06319.02
5.4.210.0070.08019.16
5.4.200.0070.04319.11
5.4.190.0070.07019.02
5.4.180.0030.06319.24
5.4.170.0100.05319.16
5.4.160.0130.06719.23
5.4.150.0000.07019.07
5.4.140.0100.05716.28
5.4.130.0130.04016.52
5.4.120.0030.06016.36
5.4.110.0100.02716.40
5.4.100.0100.03016.52
5.4.90.0030.03716.25
5.4.80.0000.03716.27
5.4.70.0070.03016.34
5.4.60.0070.03316.48
5.4.50.0030.03716.38
5.4.40.0070.03716.39
5.4.30.0030.03316.48
5.4.20.0000.04016.46
5.4.10.0130.02716.27
5.4.00.0030.04315.91
5.3.290.0130.06714.59
5.3.280.0030.05314.47
5.3.270.0130.03014.48
5.3.260.0100.04314.55
5.3.250.0070.04014.52
5.3.240.0070.07014.54
5.3.230.0100.05714.46
5.3.220.0030.04314.58
5.3.210.0000.04014.43
5.3.200.0030.03714.58
5.3.190.0070.03314.51
5.3.180.0030.03714.48
5.3.170.0030.03714.66
5.3.160.0070.03314.46
5.3.150.0030.03714.40
5.3.140.0070.03314.45
5.3.130.0000.04014.61
5.3.120.0000.04014.49
5.3.110.0030.03714.61
5.3.100.0030.03314.03
5.3.90.0030.03313.95
5.3.80.0130.03014.11
5.3.70.0000.03313.93
5.3.60.0000.03313.89
5.3.50.0100.02313.88
5.3.40.0070.02713.76
5.3.30.0070.02713.84
5.3.20.0000.03313.75
5.3.10.0030.03013.75
5.3.00.0100.02713.54
5.2.170.0000.03312.00
5.2.160.0000.02712.00
5.2.150.0000.02712.00
5.2.140.0030.03012.00
5.2.130.0000.02712.00
5.2.120.0070.02012.00
5.2.110.0030.02312.00
5.2.100.0000.02312.00
5.2.90.0070.02012.00
5.2.80.0070.02012.00
5.2.70.0070.02712.00
5.2.60.0000.02712.00
5.2.50.0000.02712.00
5.2.40.0000.02712.00
5.2.30.0000.02712.00
5.2.20.0070.02012.00
5.2.10.0070.02312.00
5.2.00.0000.02712.00
5.1.60.0000.02312.00
5.1.50.0000.02312.00
5.1.40.0030.02012.00
5.1.30.0030.02012.00
5.1.20.0100.02012.00
5.1.10.0100.01312.00
5.1.00.0000.02312.00
5.0.50.0100.01012.00
5.0.40.0000.01712.00
5.0.30.0000.02712.00
5.0.20.0030.01312.00
5.0.10.0030.01312.00
5.0.00.0030.02312.00
4.4.90.0030.01312.00
4.4.80.0000.01312.00
4.4.70.0030.01012.00
4.4.60.0000.01312.00
4.4.50.0000.01312.00
4.4.40.0070.01712.00
4.4.30.0030.01012.00
4.4.20.0070.01012.00
4.4.10.0030.01012.00
4.4.00.0030.01712.00
4.3.110.0030.01012.00
4.3.100.0000.01312.00
4.3.90.0000.01312.00
4.3.80.0000.02012.00
4.3.70.0100.00312.00
4.3.60.0000.01312.00
4.3.50.0000.01312.00
4.3.40.0000.02012.00
4.3.30.0000.01312.00
4.3.20.0000.01312.00
4.3.10.0030.01012.00
4.3.00.0030.01012.00

preferences:
12.02 ms | 406 KiB | 5 Q