3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = json_encode('Noticias Bogotá') echo $text;

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.0070.05720.35
5.5.240.0330.06720.18
5.4.400.0230.06318.95
5.4.390.0270.07719.22
5.4.380.0270.06718.98
5.4.370.0270.03319.24
5.4.360.0230.04019.20
5.4.350.0200.03719.14
5.4.340.0130.05019.20
5.4.320.0200.03319.16
5.4.310.0270.04018.95
5.4.300.0100.04318.95
5.4.290.0170.04319.22
5.4.280.0170.03718.94
5.4.270.0170.03719.19
5.4.260.0170.04319.25
5.4.250.0170.03719.30
5.4.240.0230.03319.09
5.4.230.0200.03719.20
5.4.220.0170.04018.94
5.4.210.0170.04018.96
5.4.200.0170.04319.07
5.4.190.0130.04018.98
5.4.180.0230.03018.93
5.4.170.0200.03319.30
5.4.160.0200.03319.17
5.4.150.0230.03719.14
5.4.140.0370.02716.67
5.4.130.0200.06316.38
5.4.120.0270.06716.35
5.4.110.0230.04716.58
5.4.100.0300.04316.45
5.4.90.0170.03716.45
5.4.80.0270.04016.55
5.4.70.0270.03016.26
5.4.60.0200.04016.55
5.4.50.0270.06016.53
5.4.40.0330.05016.52
5.4.30.0300.05316.42
5.4.20.0300.06716.24
5.4.10.0300.07016.25
5.4.00.0270.06315.90
5.3.290.0230.03314.60
5.3.280.0130.04014.57
5.3.270.0200.03714.55
5.3.260.0230.03714.44
5.3.250.0130.04014.44
5.3.240.0170.03714.41
5.3.230.0300.03314.45
5.3.220.0200.03714.51
5.3.210.0200.04714.61
5.3.200.0270.03314.42
5.3.190.0200.04314.47
5.3.180.0270.07014.40
5.3.170.0270.05714.40
5.3.160.0230.07014.39
5.3.150.0300.05314.40
5.3.140.0370.06314.40
5.3.130.0270.05314.38
5.3.120.0400.06014.39
5.3.110.0270.07314.42
5.3.100.0230.05014.09
5.3.90.0400.04313.89
5.3.80.0270.04313.79
5.3.70.0230.04713.85
5.3.60.0330.06713.96
5.3.50.0300.05313.88
5.3.40.0270.04713.78
5.3.30.0270.03313.81
5.3.20.0400.03013.59
5.3.10.0270.07313.56
5.3.00.0170.03713.68
5.2.170.0300.05012.34
5.2.160.0470.05012.34
5.2.150.0230.03712.34
5.2.140.0270.06012.34
5.2.130.0230.04312.34
5.2.120.0170.03312.34
5.2.110.0200.02712.34
5.2.100.0270.05312.34
5.2.90.0200.03712.34
5.2.80.0170.05012.34
5.2.70.0300.05312.34
5.2.60.0230.05312.34
5.2.50.0330.04312.34
5.2.40.0200.03312.34
5.2.30.0130.04012.34
5.2.20.0230.03312.34
5.2.10.0200.04712.34
5.2.00.0170.05312.34
5.1.60.0170.04012.34
5.1.50.0230.02012.34
5.1.40.0200.03012.34
5.1.30.0270.02312.34
5.1.20.0170.05312.34
5.1.10.0170.03712.34
5.1.00.0130.02712.34
5.0.50.0100.04312.34
5.0.40.0100.01712.34
5.0.30.0070.03012.34
5.0.20.0130.03712.34
5.0.10.0170.02312.34
5.0.00.0100.05312.34
4.4.90.0100.03712.34
4.4.80.0130.03012.34
4.4.70.0070.04012.34
4.4.60.0070.02012.34
4.4.50.0100.03712.34
4.4.40.0070.04012.34
4.4.30.0130.03312.34
4.4.20.0100.01712.34
4.4.10.0070.01712.34
4.4.00.0100.03712.34
4.3.110.0070.01712.34
4.3.100.0100.02012.34
4.3.90.0100.02712.34
4.3.80.0130.03012.34
4.3.70.0100.01312.34
4.3.60.0170.02312.34
4.3.50.0070.02012.34
4.3.40.0030.02712.34
4.3.30.0030.01712.34
4.3.20.0000.03012.34
4.3.10.0070.02312.34
4.3.00.0030.03012.34

preferences:
138.14 ms | 1394 KiB | 7 Q