3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "ejIjSS3Fh5GSYG3hALUII53AeIR55ej3LeeAeSjReS5jRjeeG3GL5hLShhFS5h5GUAheRISFSO5IOIIAGFGGAS3eh5h5FjLe33Ueje3h35jIjjhj5L5j53A3"; $a=(count_chars($data, 1)); ); //asort($a); print_r($a); foreach ($a as $i => $val) { echo "There were $val instance(s) of \"" , chr($i) , "\" in the string.\n"; } ?>

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)
5.4.270.0070.06718.96
5.4.260.0100.05018.94
5.4.250.0070.05719.03
5.4.240.0070.07318.95
5.4.230.0000.07318.75
5.4.220.0030.08018.94
5.4.210.0070.05718.76
5.4.200.0170.07018.84
5.4.190.0170.05718.94
5.4.180.0100.07318.76
5.4.170.0070.05319.00
5.4.160.0030.07018.82
5.4.150.0130.07018.75
5.4.140.0130.05016.27
5.4.130.0170.04016.34
5.4.120.0170.05716.39
5.4.110.0130.04716.48
5.4.100.0070.06316.43
5.4.90.0130.04316.37
5.4.80.0100.07016.47
5.4.70.0100.06716.50
5.4.60.0200.03316.31
5.4.50.0100.04716.46
5.4.40.0000.05716.67
5.4.30.0100.06016.54
5.4.20.0170.06316.36
5.4.10.0100.06016.46
5.4.00.0100.04715.84
5.3.280.0130.06014.63
5.3.270.0030.08014.52
5.3.260.0300.05314.61
5.3.250.0130.04714.46
5.3.240.0070.05314.62
5.3.230.0030.05314.47
5.3.220.0000.06014.57
5.3.210.0100.05014.42
5.3.200.0100.05014.59
5.3.190.0130.06714.43
5.3.180.0030.06314.61
5.3.170.0130.05314.58
5.3.160.0130.06714.56
5.3.150.0100.05714.58
5.3.140.0000.05314.56
5.3.130.0030.05714.47
5.3.120.0030.05714.40
5.3.110.0100.06014.59
5.3.100.0100.04714.08
5.3.90.0070.05014.11
5.3.80.0030.06714.04
5.3.70.0130.06313.96
5.3.60.0070.06013.89
5.3.50.0030.05313.82
5.3.40.0070.05014.09
5.3.30.0030.05013.85
5.3.20.0130.04313.63
5.3.10.0100.06013.51
5.3.00.0200.05713.73
5.2.170.0030.04311.13
5.2.160.0030.05711.15
5.2.150.0070.04310.90
5.2.140.0030.06011.14
5.2.130.0030.04011.21
5.2.120.0200.03711.10
5.2.110.0100.04311.20
5.2.100.0130.04311.11
5.2.90.0100.04711.11
5.2.80.0130.04711.10
5.2.70.0030.05711.02
5.2.60.0100.03711.07
5.2.50.0070.04011.17
5.2.40.0070.03711.09
5.2.30.0100.05010.73
5.2.20.0130.03010.87
5.2.10.0000.05710.92
5.2.00.0030.05310.67
5.1.60.0030.0409.88
5.1.50.0100.0379.97
5.1.40.0130.0409.93
5.1.30.0030.04010.25
5.1.20.0070.03310.52
5.1.10.0000.04010.21
5.1.00.0000.0579.95
5.0.50.0030.0308.46
5.0.40.0000.0408.29
5.0.30.0030.0408.25
5.0.20.0000.0338.27
5.0.10.0070.0338.12
5.0.00.0100.0338.35
4.4.90.0070.0176.05
4.4.80.0100.0176.05
4.4.70.0000.0236.05
4.4.60.0070.0236.05
4.4.50.0070.0176.05
4.4.40.0000.0406.05
4.4.30.0070.0206.05
4.4.20.0030.0306.05
4.4.10.0000.0306.05
4.4.00.0070.0306.05
4.3.110.0030.0306.05
4.3.100.0070.0276.05
4.3.90.0070.0236.05
4.3.80.0000.0376.05
4.3.70.0000.0236.05
4.3.60.0030.0206.05
4.3.50.0070.0236.05
4.3.40.0000.0476.05
4.3.30.0030.0276.05
4.3.20.0000.0306.05
4.3.10.0030.0206.05
4.3.00.0130.0207.12

preferences:
140.51 ms | 1394 KiB | 7 Q