3v4l.org

run code in 300+ PHP versions simultaneously
<?php print stripslashes("a\\nb")

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.120.0170.08020.95
5.6.110.0200.06720.98
5.6.100.0100.05021.00
5.6.90.0100.07321.11
5.6.80.0070.07720.50
5.5.280.0100.08320.87
5.5.270.0070.07320.66
5.5.260.0200.07320.84
5.5.250.0230.06320.58
5.5.240.0230.07320.26
5.4.440.1170.06019.57
5.4.430.0870.06719.51
5.4.420.0630.05319.60
5.4.410.0600.04719.23
5.4.400.0670.06019.04
5.4.390.0700.05018.77
5.4.380.0730.05319.14
5.4.370.0200.04319.08
5.4.360.0100.05719.23
5.4.350.0830.06018.93
5.4.340.0670.05719.04
5.4.320.0430.04719.15
5.4.310.0200.05719.14
5.4.300.1230.04719.23
5.4.290.0530.07019.26
5.4.280.0130.06018.95
5.4.270.0470.06318.93
5.4.260.0530.07319.19
5.4.250.0170.06018.86
5.4.240.0230.06018.98
5.4.230.0430.05719.03
5.4.220.0870.05319.26
5.4.210.0800.05319.11
5.4.200.0770.06016.81
5.4.190.0730.05718.78
5.4.180.0770.05719.27
5.4.170.0630.06318.94
5.4.160.0730.05318.82
5.4.150.0770.04719.23
5.4.140.0670.05016.49
5.4.130.0700.04716.35
5.4.120.0670.04316.26
5.4.110.0900.05016.59
5.4.100.0730.04716.26
5.4.90.0570.05316.21
5.4.80.0670.06016.33
5.4.70.0730.05316.32
5.4.60.0530.06316.18
5.4.50.0900.03316.33
5.4.40.0630.06016.39
5.4.30.0770.05316.36
5.4.20.0630.05716.12
5.4.10.0670.05716.29
5.4.00.0900.05015.84
5.3.290.1000.05314.51
5.3.280.0730.05314.48
5.3.270.0770.05714.45
5.3.260.0730.06314.45
5.3.250.0930.05714.45
5.3.240.0670.06014.59
5.3.230.1000.05014.53
5.3.220.0770.06014.41
5.3.210.1070.07014.58
5.3.200.1100.05314.45
5.3.190.0970.03314.36
5.3.180.1100.05014.54
5.3.170.0830.05714.41
5.3.160.0800.05314.36
5.3.150.0730.05314.39
5.3.140.0800.05314.49
5.3.130.0870.05714.39
5.3.120.0930.05714.47
5.3.110.0730.06014.48
5.3.100.0870.05713.88
5.3.90.0930.07714.04
5.3.80.1000.05313.89
5.3.70.0830.05013.86
5.3.60.0770.04713.94
5.3.50.0530.04713.82
5.3.40.0870.05713.93
5.3.30.0330.04013.86
5.3.20.0030.05313.48
5.3.10.0630.04313.60
5.3.00.0830.06313.62
5.2.170.0730.05710.99
5.2.160.0500.03311.09
5.2.150.0570.05010.98
5.2.140.0170.04011.13
5.2.130.0000.04710.95
5.2.120.0700.03710.95
5.2.110.0470.05011.14
5.2.100.0170.03011.12
5.2.90.0030.04310.95
5.2.80.0400.04010.94
5.2.70.0670.04310.94
5.2.60.0500.03711.12
5.2.50.0030.04310.86
5.2.40.0230.03710.88
5.2.30.0500.05010.83
5.2.20.0500.05011.13
5.2.10.0430.04710.77
5.2.00.0370.05010.62
5.1.60.0370.03710.15
5.1.50.0530.03310.00
5.1.40.0370.0379.99
5.1.30.0570.03710.23
5.1.20.0570.02710.36
5.1.10.0530.03710.08
5.1.00.0430.0409.95
5.0.50.0270.0308.46
5.0.40.0270.0308.49
5.0.30.0330.0538.38
5.0.20.0300.0308.41
5.0.10.0330.0238.18
5.0.00.0130.0508.18
4.4.90.0330.0205.84
4.4.80.0370.0275.78
4.4.70.0230.0235.78
4.4.60.0270.0275.75
4.4.50.0230.0235.84
4.4.40.0270.0375.75
4.4.30.0370.0275.79
4.4.20.0230.0235.90
4.4.10.0200.0205.81
4.4.00.0230.0335.81
4.3.110.0300.0235.73
4.3.100.0200.0305.74
4.3.90.0130.0205.68
4.3.80.0230.0335.65
4.3.70.0270.0135.75
4.3.60.0200.0235.69
4.3.50.0200.0235.70
4.3.40.0330.0405.66
4.3.30.0030.0304.67
4.3.20.0170.0204.67
4.3.10.0170.0174.67
4.3.00.0000.0237.25

preferences:
145.01 ms | 1394 KiB | 7 Q