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.4200.03319.18
5.4.260.4630.03018.96
5.4.250.4630.04019.04
5.4.240.4330.03019.21
5.4.230.4630.03318.91
5.4.220.4630.04019.10
5.4.210.4230.03719.21
5.4.200.3700.03719.18
5.4.190.0000.04019.12
5.4.180.3970.03319.13
5.4.170.3900.03718.92
5.4.160.4670.03718.91
5.4.150.4270.03719.13
5.4.140.4470.03716.59
5.4.130.4570.04016.54
5.4.120.3770.03716.45
5.4.110.4000.03316.52
5.4.100.3700.03316.45
5.4.90.3830.03716.63
5.4.80.3970.03016.40
5.4.70.4000.03316.62
5.4.60.3770.03016.46
5.4.50.4130.03016.48
5.4.40.3900.04016.45
5.4.30.3570.03316.27
5.4.20.4670.03316.41
5.4.10.4600.04016.45
5.4.00.4200.04015.89
5.3.280.4700.04014.40
5.3.270.3600.04014.48
5.3.260.4670.03714.55
5.3.250.3900.03714.43
5.3.240.3700.03014.54
5.3.230.4470.04014.48
5.3.220.4130.04314.46
5.3.210.3700.04014.54
5.3.200.3900.04314.52
5.3.190.4030.04014.46
5.3.180.3830.03314.44
5.3.170.4300.03314.49
5.3.160.3670.03714.44
5.3.150.3800.03714.40
5.3.140.3670.03714.54
5.3.130.4100.04014.49
5.3.120.4570.04314.57
5.3.110.4670.03014.43
5.3.100.4000.03713.97
5.3.90.3230.03713.95
5.3.80.3800.04313.80
5.3.70.3800.03313.94
5.3.60.3600.04014.09
5.3.50.4070.03013.78
5.3.40.3970.04313.87
5.3.30.4030.04313.84
5.3.20.4070.03713.48
5.3.10.3930.03013.60
5.3.00.4170.03713.55
5.2.170.3100.02711.13
5.2.160.3570.02011.13
5.2.150.3230.03311.07
5.2.140.3230.03311.12
5.2.130.3170.03011.07
5.2.120.3370.03311.09
5.2.110.3330.02311.08
5.2.100.3330.02711.09
5.2.90.3230.03011.04
5.2.80.3500.03011.06
5.2.70.4000.02311.17
5.2.60.3570.03310.94
5.2.50.3700.03010.89
5.2.40.3100.02310.84
5.2.30.3170.02711.12
5.2.20.2730.03711.04
5.2.10.2830.02710.85
5.2.00.2870.02710.75
5.1.60.2970.0279.96
5.1.50.2470.02310.14
5.1.40.2800.0279.88
5.1.30.2130.02310.29
5.1.20.2470.02310.30
5.1.10.2330.02710.05
5.1.00.2530.02310.08
5.0.50.1330.0208.55
5.0.40.0900.0208.41
5.0.30.1130.0338.28
5.0.20.1070.0178.26
5.0.10.1200.0208.16
5.0.00.1300.0308.17
4.4.90.1800.0175.98
4.4.80.1900.0135.98
4.4.70.1470.0175.98
4.4.60.1470.0175.98
4.4.50.1430.0175.98
4.4.40.1430.0205.98
4.4.30.1230.0175.98
4.4.20.1200.0175.84
4.4.10.1200.0175.86
4.4.00.1200.0275.93
4.3.110.1200.0135.78
4.3.100.1200.0175.72
4.3.90.1200.0175.72
4.3.80.1170.0275.75
4.3.70.1030.0105.72
4.3.60.1270.0135.72
4.3.50.1130.0205.74
4.3.40.1200.0275.72
4.3.30.0630.0175.72
4.3.20.0600.0205.72
4.3.10.0630.0135.72
4.3.00.0570.0175.72

preferences:
143.02 ms | 1394 KiB | 7 Q