3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace('/(\\\'){2,}|(\\"){2,}/', '$1', "te'""'st"));

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.90.0130.07320.96
5.6.80.0030.08720.36
5.5.250.0030.06720.61
5.5.240.0000.04020.15
5.4.410.0030.06018.99
5.4.400.0170.04718.50
5.4.390.0100.05318.77
5.4.380.0100.05318.50
5.4.370.0170.04718.74
5.4.360.0100.05018.79
5.4.350.0170.04718.74
5.4.340.0100.05018.74
5.4.320.0000.06318.72
5.4.310.0130.05018.56
5.4.300.0130.05018.60
5.4.290.0100.05318.62
5.4.280.0000.06318.44
5.4.270.0070.05318.71
5.4.260.0070.05318.70
5.4.250.0130.04718.47
5.4.240.0070.05718.44
5.4.230.0130.04318.80
5.4.220.0130.05018.73
5.4.210.0070.05318.55
5.4.200.0100.04716.77
5.4.190.0130.04718.77
5.4.180.0100.05018.50
5.4.170.0130.04718.73
5.4.160.0070.05718.54
5.4.150.0000.06018.52
5.4.140.0130.04716.24
5.4.130.0130.06716.23
5.4.120.0170.06316.31
5.4.110.0130.04716.42
5.4.100.0030.05716.45
5.4.90.0130.04716.31
5.4.80.0070.05016.26
5.4.70.0070.05316.39
5.4.60.0100.05016.25
5.4.50.0130.04716.25
5.4.40.0130.04716.28
5.4.30.0200.05016.37
5.4.20.0070.07316.36
5.4.10.0100.06316.36
5.4.00.0070.05315.62
5.3.290.0170.04714.61
5.3.280.0200.04314.52
5.3.270.0130.05014.59
5.3.260.0130.05314.63
5.3.250.0170.06314.60
5.3.240.0100.05314.60
5.3.230.0100.05314.65
5.3.220.0100.07314.46
5.3.210.0130.07314.57
5.3.200.0130.07014.53
5.3.190.0100.06714.50
5.3.180.0100.05314.54
5.3.170.0100.07314.59
5.3.160.0070.05714.66
5.3.150.0130.05314.61
5.3.140.0170.05314.46
5.3.130.0130.05314.55
5.3.120.0100.05314.46
5.3.110.0100.05314.52
5.3.100.0170.04314.04
5.3.90.0070.05714.02
5.3.80.0030.05714.09
5.3.70.0130.04713.92
5.3.60.0100.05014.10
5.3.50.0030.05314.04
5.3.40.0030.05713.85
5.3.30.0070.05314.00
5.3.20.0070.05013.64
5.3.10.0170.04013.69
5.3.00.0030.06013.57
5.2.170.0100.04011.13
5.2.160.0230.04011.11
5.2.150.0100.04311.17
5.2.140.0030.06011.20
5.2.130.0070.04311.10
5.2.120.0070.04011.07
5.2.110.0070.04311.25
5.2.100.0130.03711.14
5.2.90.0070.04011.03
5.2.80.0070.04011.13
5.2.70.0030.05011.01
5.2.60.0170.03311.05
5.2.50.0130.03710.96
5.2.40.0100.03710.96
5.2.30.0100.04010.98
5.2.20.0170.04011.07
5.2.10.0070.04310.90
5.2.00.0170.04010.87
5.1.60.0130.04010.13
5.1.50.0030.0379.96
5.1.40.0100.0309.97
5.1.30.0130.03010.44
5.1.20.0170.03310.41
5.1.10.0030.04310.09
5.1.00.0070.04310.19
5.0.50.0100.0278.57
5.0.40.0100.0308.47
5.0.30.0030.0478.24
5.0.20.0070.0278.23
5.0.10.0100.0338.28
5.0.00.0070.0408.14
4.4.90.0000.0275.91
4.4.80.0030.0235.90
4.4.70.0070.0235.85
4.4.60.0030.0235.91
4.4.50.0070.0205.89
4.4.40.0070.0375.86
4.4.30.0030.0235.90
4.4.20.0070.0235.88
4.4.10.0070.0205.96
4.4.00.0030.0335.85
4.3.110.0000.0275.80
4.3.100.0030.0205.81
4.3.90.0030.0235.79
4.3.80.0030.0335.86
4.3.70.0070.0175.76
4.3.60.0000.0235.76
4.3.50.0000.0235.79
4.3.40.0000.0375.78
4.3.30.0070.0204.59
4.3.20.0070.0234.64
4.3.10.0030.0274.49
4.3.00.0030.02016.19

preferences:
141.17 ms | 1394 KiB | 7 Q