3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { private static $var = array_map('urlencode', array('a' => 1)); }

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.70.4270.04720.48
5.4.390.0670.05019.25
5.4.380.0170.05318.50
5.4.370.0200.05018.79
5.4.360.0230.04718.52
5.4.350.0200.05018.69
5.4.340.0130.05718.64
5.4.320.0200.06318.46
5.4.310.0200.05018.76
5.4.300.0100.06018.72
5.4.290.0270.04018.53
5.4.280.0170.05018.75
5.4.270.0230.04718.62
5.4.260.0100.06018.79
5.4.250.0170.06018.50
5.4.240.0270.05318.55
5.4.230.0230.07018.54
5.4.220.0100.06318.83
5.4.210.0170.06018.74
5.4.200.0200.04716.79
5.4.190.0130.05718.72
5.4.180.0170.05318.45
5.4.170.0170.06318.70
5.4.160.0300.04018.76
5.4.150.0100.06018.64
5.4.140.0130.05316.21
5.4.130.0070.05716.18
5.4.120.0200.04316.25
5.4.110.0100.06016.27
5.4.100.0130.05716.29
5.4.90.0170.05016.41
5.4.80.0230.04716.40
5.4.70.0270.05016.23
5.4.60.0230.04716.14
5.4.50.0170.05016.31
5.4.40.0100.06716.27
5.4.30.0230.05716.24
5.4.20.0170.05316.25
5.4.10.0330.04716.20
5.4.00.0170.05015.65
5.3.290.0130.06014.71
5.3.280.0230.05314.69
5.3.270.0200.05314.80
5.3.260.0200.05714.77
5.3.250.0100.05714.64
5.3.240.0130.05314.63
5.3.230.0130.05014.64
5.3.220.0070.05714.56
5.3.210.0230.04314.73
5.3.200.0130.05314.59
5.3.190.0200.05014.68
5.3.180.0200.04714.58
5.3.170.0230.04314.66
5.3.160.0130.05314.79
5.3.150.0170.05014.55
5.3.140.0200.05014.77
5.3.130.0130.05714.48
5.3.120.0070.06714.67
5.3.110.0200.05014.54
5.3.100.0200.05014.09
5.3.90.0100.05714.24
5.3.80.0130.05314.04
5.3.70.0170.05314.21
5.3.60.0170.05014.06
5.3.50.0230.04313.92
5.3.40.0230.04714.00
5.3.30.0170.04714.03
5.3.20.0270.04313.71
5.3.10.0200.04313.72
5.3.00.0230.04313.63
5.2.170.0070.04711.26
5.2.160.0070.05011.25
5.2.150.0100.04711.12
5.2.140.0070.05011.17
5.2.130.0100.04311.30
5.2.120.0200.03311.22
5.2.110.0270.04011.14
5.2.100.0170.03711.14
5.2.90.0100.04311.09
5.2.80.0130.04011.13
5.2.70.0100.04311.19
5.2.60.0130.05011.04
5.2.50.0200.03711.12
5.2.40.0170.03711.11
5.2.30.0100.04310.99
5.2.20.0070.04711.05
5.2.10.0100.04310.95
5.2.00.0170.03310.76
5.1.60.0100.03310.02
5.1.50.0070.04010.02
5.1.40.0100.04010.10
5.1.30.0170.04310.37
5.1.20.0100.05310.40
5.1.10.0070.05310.10
5.1.00.0200.04010.06
5.0.50.0100.0338.63
5.0.40.0170.0208.54
5.0.30.0170.0338.22
5.0.20.0030.0308.23
5.0.10.0070.0378.27
5.0.00.0030.0478.19
4.4.90.0070.0205.91
4.4.80.0000.0275.88
4.4.70.0100.0175.93
4.4.60.0030.0305.98
4.4.50.0100.0235.94
4.4.40.0030.0375.89
4.4.30.0030.0235.92
4.4.20.0070.0235.96
4.4.10.0030.0275.93
4.4.00.0170.0235.91
4.3.110.0100.0175.84
4.3.100.0130.0135.80
4.3.90.0070.0205.77
4.3.80.0000.0405.86
4.3.70.0170.0135.87
4.3.60.0130.0175.78
4.3.50.0030.0275.79
4.3.40.0030.0405.76
4.3.30.0000.0274.64
4.3.20.0030.0234.56
4.3.10.0070.0204.48
4.3.00.0100.0207.76

preferences:
148.52 ms | 1394 KiB | 7 Q