3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = ""; for ($t=230; $t<250; $t++) $input .= chr($t); for ($t=0; $t<strlen($input); $t++) echo "".ord(substr($input, $t, 1))." "; echo "strlen = ".strlen($input)."\n"); echo("t = $t \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.0130.04719.05
5.4.260.0070.07318.82
5.4.250.0170.04718.79
5.4.240.0070.06319.05
5.4.230.0070.05318.71
5.4.220.0100.06318.86
5.4.210.0170.06718.60
5.4.200.0100.04718.70
5.4.190.0170.06718.81
5.4.180.0070.06318.88
5.4.170.0070.05318.70
5.4.160.0270.04318.89
5.4.150.0130.07018.96
5.4.140.0130.06716.56
5.4.130.0070.06316.30
5.4.120.0170.04716.58
5.4.110.0070.05316.43
5.4.100.0100.04716.45
5.4.90.0030.05316.43
5.4.80.0070.05016.45
5.4.70.0100.05316.39
5.4.60.0070.05016.39
5.4.50.0170.04016.38
5.4.40.0070.06016.46
5.4.30.0230.04716.31
5.4.20.0170.04316.40
5.4.10.0100.07016.39
5.4.00.0030.05016.03
5.3.280.0070.07314.60
5.3.270.0070.06314.70
5.3.260.0100.05714.61
5.3.250.0130.04314.63
5.3.240.0100.05014.63
5.3.230.0200.04314.61
5.3.220.0100.04714.58
5.3.210.0200.06014.58
5.3.200.0100.04714.59
5.3.190.0100.07314.57
5.3.180.0130.05714.39
5.3.170.0070.05014.62
5.3.160.0030.07314.46
5.3.150.0100.06714.26
5.3.140.0170.05314.61
5.3.130.0070.05314.39
5.3.120.0070.05314.59
5.3.110.0030.06014.47
5.3.100.0100.06713.91
5.3.90.0130.06713.79
5.3.80.0100.06314.05
5.3.70.0130.05013.91
5.3.60.0100.06314.16
5.3.50.0170.06014.00
5.3.40.0100.06313.73
5.3.30.0170.04013.77
5.3.20.0130.04313.69
5.3.10.0130.05313.35
5.3.00.0070.07013.53
5.2.170.0100.04311.14
5.2.160.0070.04010.98
5.2.150.0030.04311.16
5.2.140.0070.04311.16
5.2.130.0130.05011.03
5.2.120.0030.05311.20
5.2.110.0130.03011.02
5.2.100.0070.05311.04
5.2.90.0100.03711.11
5.2.80.0070.03711.00
5.2.70.0030.04311.18
5.2.60.0100.03710.97
5.2.50.0100.05011.01
5.2.40.0030.04010.99
5.2.30.0000.04310.98
5.2.20.0130.04710.96
5.2.10.0030.04010.80
5.2.00.0070.03710.79
5.1.60.0000.05010.23
5.1.50.0100.0379.93
5.1.40.0070.04310.07
5.1.30.0170.02310.34
5.1.20.0100.04710.43
5.1.10.0000.04310.25
5.1.00.0100.0439.93
5.0.50.0000.0308.42
5.0.40.0070.0308.32
5.0.30.0030.0408.28
5.0.20.0070.0238.13
5.0.10.0030.0308.41
5.0.00.0070.0408.31
4.4.90.0070.0176.85
4.4.80.0130.0336.85
4.4.70.0030.0206.85
4.4.60.0030.0236.85
4.4.50.0000.0336.85
4.4.40.0030.0336.85
4.4.30.0000.0206.85
4.4.20.0070.0206.85
4.4.10.0030.0276.85
4.4.00.0000.0336.85
4.3.110.0000.0236.85
4.3.100.0030.0236.85
4.3.90.0100.0176.85
4.3.80.0030.0306.85
4.3.70.0070.0176.85
4.3.60.0030.0206.85
4.3.50.0100.0236.85
4.3.40.0000.0336.85
4.3.30.0030.0206.85
4.3.20.0070.0236.85
4.3.10.0070.0236.85
4.3.00.0030.0237.39

preferences:
139.27 ms | 1398 KiB | 7 Q