3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonReplaces = array("\", "/", "\n", "\t", "\r", "\b", "\f", '"' ); var_dump($jsonReplaces );

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.320.0060.05212.50
5.4.310.0050.05612.50
5.4.300.0150.04012.50
5.4.290.0040.04512.49
5.4.280.0050.04912.39
5.4.270.0080.04512.39
5.4.260.0170.03912.39
5.4.250.0080.05112.39
5.4.240.0090.04412.39
5.4.230.0120.04112.38
5.4.220.0080.04312.38
5.4.210.0110.04912.38
5.4.200.0160.04612.38
5.4.190.0140.04612.38
5.4.180.0060.04312.38
5.4.170.0040.05212.38
5.4.160.0120.04512.38
5.4.150.0070.03812.38
5.4.140.0090.04312.07
5.4.130.0070.03612.05
5.4.120.0100.03812.01
5.4.110.0070.03712.01
5.4.100.0080.03812.01
5.4.90.0080.04212.02
5.4.80.0080.03712.01
5.4.70.0090.03412.01
5.4.60.0120.03512.01
5.4.50.0060.04712.00
5.4.40.0100.04712.00
5.4.30.0140.04511.99
5.4.20.0080.05111.99
5.4.10.0060.05011.99
5.4.00.0050.05111.48
5.3.290.0100.05212.80
5.3.280.0030.05212.71
5.3.270.0140.04112.72
5.3.260.0060.04412.71
5.3.250.0070.04212.72
5.3.240.0040.04312.72
5.3.230.0090.03712.71
5.3.220.0080.03512.68
5.3.210.0030.04212.68
5.3.200.0050.04312.68
5.3.190.0060.04112.68
5.3.180.0090.04112.67
5.3.170.0070.04112.67
5.3.160.0100.03612.67
5.3.150.0090.03612.67
5.3.140.0080.03612.66
5.3.130.0070.03912.66
5.3.120.0100.04712.65
5.3.110.0110.04712.66
5.3.100.0080.04212.12
5.3.90.0110.03812.08
5.3.80.0070.04112.07
5.3.70.0070.04912.07
5.3.60.0080.04112.06
5.3.50.0070.04012.00
5.3.40.0080.04412.00
5.3.30.0060.05011.95
5.3.20.0110.04511.73
5.3.10.0090.04911.70
5.3.00.0100.05011.68
5.2.170.0060.0429.18
5.2.160.0090.0439.18
5.2.150.0110.0319.18
5.2.140.0040.0329.18
5.2.130.0030.0499.14
5.2.120.0050.0349.14
5.2.110.0080.0409.14
5.2.100.0090.0519.14
5.2.90.0040.0439.14
5.2.80.0060.0439.14
5.2.70.0060.0429.14
5.2.60.0050.0359.09
5.2.50.0050.0359.06
5.2.40.0060.0329.04
5.2.30.0040.0399.02
5.2.20.0080.0409.01
5.2.10.0080.0368.92
5.2.00.0050.0388.78
5.1.60.0080.0318.07
5.1.50.0080.0218.06
5.1.40.0040.0358.05
5.1.30.0060.0268.40
5.1.20.0050.0328.42
5.1.10.0060.0238.14
5.1.00.0040.0258.14
5.0.50.0060.0236.63
5.0.40.0050.0276.48
5.0.30.0040.0326.29
5.0.20.0040.0246.26
5.0.10.0040.0206.24
5.0.00.0040.0316.23
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0030.0214.75
4.4.60.0030.0224.76
4.4.50.0030.0224.77
4.4.40.0030.0334.71
4.4.30.0030.0214.76
4.4.20.0050.0204.84
4.4.10.0050.0194.85
4.4.00.0010.0314.75
4.3.110.0040.0214.67
4.3.100.0040.0224.66
4.3.90.0010.0194.63
4.3.80.0040.0284.58
4.3.70.0040.0164.63
4.3.60.0040.0194.63
4.3.50.0040.0144.63
4.3.40.0050.0234.54
4.3.30.0020.0193.29
4.3.20.0040.0193.27
4.3.10.0050.0163.22
4.3.00.0070.01315.66

preferences:
146.47 ms | 1394 KiB | 7 Q