3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'username="ibbeck.ms", '; $string = explode(",",$string); echo $string = str_replace(array("username=","\"",$string[0]); ?>

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.6.80.0000.07320.52
5.6.70.3230.03020.32
5.5.240.0170.03720.35
5.4.400.0830.05719.27
5.4.390.0100.05718.61
5.4.380.0230.05718.73
5.4.370.0330.04018.60
5.4.360.0230.04318.56
5.4.350.0170.05718.81
5.4.340.0130.05718.56
5.4.320.0170.05318.51
5.4.310.0270.06718.51
5.4.300.0170.05018.68
5.4.290.0230.05318.78
5.4.280.0200.07318.80
5.4.270.0100.06318.70
5.4.260.0070.06718.56
5.4.250.0070.06018.74
5.4.240.0100.06018.77
5.4.230.0170.04718.73
5.4.220.0100.05718.47
5.4.210.0170.05718.54
5.4.200.0130.06016.78
5.4.190.0200.05018.55
5.4.180.0200.04718.75
5.4.170.0230.04718.83
5.4.160.0170.05018.80
5.4.150.0100.05718.75
5.4.140.0170.05716.18
5.4.130.0130.04716.28
5.4.120.0130.05016.23
5.4.110.0200.04716.17
5.4.100.0130.05016.28
5.4.90.0130.05016.22
5.4.80.0100.05016.15
5.4.70.0130.05016.29
5.4.60.0270.03716.27
5.4.50.0200.04316.28
5.4.40.0170.05316.23
5.4.30.0170.04716.39
5.4.20.0200.05716.17
5.4.10.0100.05716.28
5.4.00.0270.06315.88
5.3.290.0330.06714.75
5.3.280.0330.06014.55
5.3.270.0030.06314.63
5.3.260.0200.05014.59
5.3.250.0230.04314.55
5.3.240.0170.04714.57
5.3.230.0130.05714.49
5.3.220.0230.04314.53
5.3.210.0130.05714.54
5.3.200.0130.05014.48
5.3.190.0230.04314.48
5.3.180.0130.05314.57
5.3.170.0100.05714.56
5.3.160.0200.05314.54
5.3.150.0070.06314.52
5.3.140.0070.05714.50
5.3.130.0170.05314.54
5.3.120.0070.06014.61
5.3.110.0130.05714.46
5.3.100.0170.05314.14
5.3.90.0100.06013.97
5.3.80.0070.06313.96
5.3.70.0170.05014.01
5.3.60.0130.06014.00
5.3.50.0130.05313.86
5.3.40.0070.05713.93
5.3.30.0230.06313.82
5.3.20.0130.07013.75
5.3.10.0100.05013.66
5.3.00.0130.05313.58
5.2.170.0170.04711.14
5.2.160.0130.04711.17
5.2.150.0100.05711.12
5.2.140.0030.05311.09
5.2.130.0130.04711.23
5.2.120.0200.03311.15
5.2.110.0100.05011.13
5.2.100.0130.04311.06
5.2.90.0170.04011.15
5.2.80.0070.04711.03
5.2.70.0130.04011.10
5.2.60.0100.04311.09
5.2.50.0030.05010.98
5.2.40.0200.03011.03
5.2.30.0130.05010.98
5.2.20.0070.04311.08
5.2.10.0200.03310.82
5.2.00.0030.04710.85
5.1.60.0130.03310.01
5.1.50.0070.03710.02
5.1.40.0070.0409.96
5.1.30.0070.04310.33
5.1.20.0170.03310.38
5.1.10.0100.03710.05
5.1.00.0070.04310.10
5.0.50.0000.0378.66
5.0.40.0130.0238.47
5.0.30.0070.0438.36
5.0.20.0070.0308.28
5.0.10.0000.0338.18
5.0.00.0130.0408.26
4.4.90.0070.0305.87
4.4.80.0070.0205.91
4.4.70.0000.0235.86
4.4.60.0100.0175.87
4.4.50.0100.0275.88
4.4.40.0070.0335.89
4.4.30.0030.0235.81
4.4.20.0070.0235.92
4.4.10.0030.0235.99
4.4.00.0100.0305.90
4.3.110.0030.0275.83
4.3.100.0070.0335.79
4.3.90.0070.0205.84
4.3.80.0030.0375.89
4.3.70.0070.0275.91
4.3.60.0030.0235.79
4.3.50.0000.0275.79
4.3.40.0030.0475.77
4.3.30.0100.0205.13
4.3.20.0070.0205.13
4.3.10.0000.0275.13
4.3.00.0000.03314.42

preferences:
141.49 ms | 1398 KiB | 7 Q