3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Syntax error: tested code has a space between equal signs $tokens=token_get_all('<?php if($foo= =$bar) {}', TOKEN_PARSE); var_dump($tokens); // not printed on error

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.0130.00618.43
8.3.60.0070.00716.63
8.3.50.0160.00016.38
8.3.40.0090.00619.14
8.3.30.0100.01018.67
8.3.20.0080.00020.25
8.3.10.0040.00423.66
8.3.00.0050.00223.78
8.2.180.0120.00318.41
8.2.170.0090.00922.96
8.2.160.0070.00719.21
8.2.150.0000.00825.66
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0040.00420.72
8.2.110.0100.01020.77
8.2.100.0080.00317.72
8.2.90.0060.00319.07
8.2.80.0040.00417.97
8.2.70.0090.00017.63
8.2.60.0000.00817.90
8.2.50.0040.00417.50
8.2.40.0060.00317.63
8.2.30.0000.00719.20
8.2.20.0070.00017.98
8.2.10.0040.00417.89
8.2.00.0070.00018.06
8.1.280.0120.00325.92
8.1.270.0080.00022.00
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0100.00623.88
8.1.230.0060.00619.54
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00717.62
8.1.160.0040.00418.99
8.1.150.0040.00420.06
8.1.140.0070.00019.18
8.1.130.0070.00018.86
8.1.120.0050.00217.27
8.1.110.0000.00817.26
8.1.100.0070.00017.30
8.1.90.0000.00717.30
8.1.80.0000.00717.35
8.1.70.0000.00717.33
8.1.60.0030.00617.50
8.1.50.0040.00417.47
8.1.40.0040.00417.44
8.1.30.0000.00817.42
8.1.20.0040.00417.62
8.1.10.0030.00617.48
8.1.00.0000.00717.46
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00818.28
8.0.270.0000.00817.20
8.0.260.0060.00018.47
8.0.250.0000.00717.00
8.0.240.0070.00016.98
8.0.230.0030.00416.98
8.0.220.0000.00716.91
8.0.210.0030.00316.93
8.0.200.0000.00816.85
8.0.190.0030.00616.96
8.0.180.0040.00416.83
8.0.170.0000.00816.86
8.0.160.0000.00816.95
8.0.150.0050.00216.91
8.0.140.0040.00416.75
8.0.130.0030.00313.47
8.0.120.0040.00416.85
8.0.110.0050.00316.88
8.0.100.0050.00316.78
8.0.90.0040.00416.96
8.0.80.0110.00416.95
8.0.70.0030.00516.94
8.0.60.0000.00716.87
8.0.50.0040.00416.75
8.0.30.0130.00716.89
8.0.20.0090.00917.40
8.0.10.0070.00016.95
8.0.00.0100.00716.71
7.4.330.0040.00015.55
7.4.320.0060.00016.40
7.4.300.0020.00516.36
7.4.290.0030.00316.57
7.4.280.0000.00916.32
7.4.270.0070.00016.59
7.4.260.0040.00716.36
7.4.250.0030.00516.45
7.4.240.0030.00616.51
7.4.230.0000.00716.38
7.4.220.0200.00716.43
7.4.210.0100.00516.49
7.4.200.0040.00416.28
7.4.160.0130.01016.44
7.4.150.0110.00717.40
7.4.140.0110.00817.86
7.4.130.0030.01416.46
7.4.120.0100.00916.49
7.4.110.0060.01016.54
7.4.100.0110.00716.35
7.4.90.0090.00916.43
7.4.80.0160.00619.39
7.4.70.0060.01216.49
7.4.60.0130.00316.43
7.4.50.0070.00716.50
7.4.40.0080.00816.56
7.4.30.0030.01316.37
7.4.00.0070.00914.93
7.3.330.0050.00013.24
7.3.320.0030.00313.41
7.3.310.0030.00316.06
7.3.300.0000.00716.27
7.3.290.0030.00316.27
7.3.280.0090.00716.26
7.3.270.0130.00617.40
7.3.260.0100.00916.34
7.3.250.0090.01016.39
7.3.240.0100.00716.34
7.3.230.0070.01016.24
7.3.210.0040.01416.47
7.3.200.0110.00616.55
7.3.190.0000.01616.44
7.3.180.0100.00716.42
7.3.170.0030.01316.27
7.3.160.0090.00916.35
7.3.120.0090.00914.82
7.3.110.0090.00914.87
7.3.100.0080.00614.61
7.3.90.0100.00514.90
7.3.80.0050.00714.71
7.3.70.0080.00514.72
7.3.60.0050.00814.83
7.3.50.0020.01114.79
7.3.40.0060.00814.77
7.3.30.0070.00614.72
7.3.20.0030.00616.63
7.3.10.0040.00816.61
7.3.00.0030.00916.60
7.2.330.0070.01016.41
7.2.320.0160.00816.55
7.2.310.0100.01016.41
7.2.300.0060.01616.59
7.2.290.0080.01216.49
7.2.250.0070.01314.92
7.2.240.0020.01614.97
7.2.230.0070.00815.09
7.2.220.0050.01015.00
7.2.210.0060.00614.88
7.2.200.0080.00814.91
7.2.190.0060.00614.85
7.2.180.0050.00914.83
7.2.170.0020.01414.91
7.2.130.0090.00616.82
7.2.120.0040.01016.85
7.2.110.0070.00916.53
7.2.100.0070.00316.98
7.2.90.0030.01216.84
7.2.80.0030.00816.70
7.2.70.0060.00316.66
7.2.60.0080.00816.72
7.2.50.0070.00716.88
7.2.40.0060.00616.73
7.2.30.0000.01516.54
7.2.20.0060.00916.57
7.2.10.0040.01116.84
7.2.00.0030.01016.94
7.1.330.0050.01115.60
7.1.320.0040.00715.81
7.1.310.0040.00815.88
7.1.300.0030.00615.77
7.1.290.0080.00815.64
7.1.280.0070.00715.75
7.1.270.0030.00815.53
7.1.260.0030.01315.79
7.1.250.0030.01015.64
7.1.200.0030.00515.58
7.1.120.0880.00916.29
7.1.110.0760.00815.69
7.1.100.0630.00715.84
7.1.90.0650.00515.82
7.1.80.0610.00915.87
7.1.70.0770.00915.11
7.1.60.0770.00933.16
7.1.50.0710.00732.62
7.1.40.0730.00932.46
7.1.30.0920.00832.51
7.1.20.0710.01032.60
7.1.10.0580.00714.66
7.1.00.0690.01114.71
7.0.250.0770.00715.50
7.0.240.0570.01015.19
7.0.230.0640.00815.61
7.0.220.0620.00815.50
7.0.210.0570.01114.55
7.0.200.0720.00914.79
7.0.190.0700.00614.73
7.0.180.0560.01214.28
7.0.170.0760.00614.40
7.0.160.0760.00914.27
7.0.150.0740.01114.34
7.0.140.0620.01114.40
7.0.130.0590.00714.60
7.0.120.0570.00914.54
7.0.110.0640.00914.31
7.0.100.0840.01014.40
7.0.90.0790.00814.31
7.0.80.0740.01014.31
7.0.70.0790.01114.45
7.0.60.0650.00914.04
7.0.50.0660.01614.34
7.0.40.0730.01014.45
7.0.30.0780.00714.45
7.0.20.0720.00714.61
7.0.10.1040.00914.48
7.0.00.0830.01014.47

preferences:
58.81 ms | 400 KiB | 5 Q