3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = <<<EOF a:13:{i:1;a:11:{s:2:"id";i:1;s:8:"naviname";s:6:"首页";s:3:"url";s:0:"";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"y";s:4:"type";i:1;s:6:"typeId";i:0;s:5:"taxis";i:1;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:4;a:11:{s:2:"id";i:4;s:8:"naviname";s:3:"PHP";s:3:"url";s:31:"http://blog.libnav.com/sort/php";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:1;s:5:"taxis";i:4;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:30;a:11:{s:2:"id";i:30;s:8:"naviname";s:6:"Python";s:3:"url";s:34:"http://blog.libnav.com/sort/python";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:18;s:5:"taxis";i:5;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:15;a:11:{s:2:"id";i:15;s:8:"naviname";s:9:"服务端";s:3:"url";s:33:"http://blog.libnav.com/sort/linux";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:6;s:5:"taxis";i:6;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:23;a:11:{s:2:"id";i:23;s:8:"naviname";s:9:"数据库";s:3:"url";s:31:"http://blog.libnav.com/sort/sql";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:16;s:5:"taxis";i:7;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:19;a:11:{s:2:"id";i:19;s:8:"naviname";s:6:"版本";s:3:"url";s:31:"http://blog.libnav.com/sort/git";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:12;s:5:"taxis";i:8;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:27;a:11:{s:2:"id";i:27;s:8:"naviname";s:6:"开源";s:3:"url";s:32:"http://blog.libnav.com/sort/open";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:19;s:5:"taxis";i:9;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:24;a:11:{s:2:"id";i:24;s:8:"naviname";s:6:"前端";s:3:"url";s:36:"http://blog.libnav.com/sort/frontend";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:17;s:5:"taxis";i:10;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:20;a:11:{s:2:"id";i:20;s:8:"naviname";s:6:"随笔";s:3:"url";s:33:"http://blog.libnav.com/sort/essay";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:13;s:5:"taxis";i:11;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:28;a:11:{s:2:"id";i:28;s:8:"naviname";s:6:"留言";s:3:"url";s:40:"http://blog.libnav.com/message-wall.html";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:5;s:6:"typeId";i:322;s:5:"taxis";i:12;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:31;a:12:{s:2:"id";i:31;s:8:"naviname";s:12:"分享导航";s:3:"url";s:24:"http://share.libnav.com/";s:6:"newtab";s:1:"y";s:9:"isdefault";s:1:"n";s:4:"type";i:0;s:6:"typeId";i:0;s:5:"taxis";i:14;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}s:9:"childnavi";a:0:{}}i:34;a:12:{s:2:"id";i:34;s:8:"naviname";s:14:"Github Project";s:3:"url";s:20:"http://sae.cfphp.com";s:6:"newtab";s:1:"y";s:9:"isdefault";s:1:"n";s:4:"type";i:0;s:6:"typeId";i:0;s:5:"taxis";i:15;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}s:9:"childnavi";a:0:{}}i:33;a:12:{s:2:"id";i:33;s:8:"naviname";s:6:"投稿";s:3:"url";s:45:"http://blog.libnav.com/?plugin=qiukong_submit";s:6:"newtab";s:1:"y";s:9:"isdefault";s:1:"n";s:4:"type";i:0;s:6:"typeId";i:0;s:5:"taxis";i:100;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}s:9:"childnavi";a:0:{}}} EOF; echo $a;

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)
8.3.70.0170.00016.63
8.3.60.0120.00618.14
8.3.50.0130.00521.91
8.3.40.0150.00018.43
8.3.30.0070.00719.05
8.3.20.0040.00420.03
8.3.10.0000.00821.95
8.3.00.0060.00319.21
8.2.180.0110.00718.29
8.2.170.0100.00322.96
8.2.160.0090.00622.26
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.57
8.2.110.0110.00022.25
8.2.100.0040.00817.91
8.2.90.0040.00418.03
8.2.80.0090.00317.97
8.2.70.0000.00817.50
8.2.60.0090.00017.80
8.2.50.0050.00318.07
8.2.40.0040.00418.03
8.2.30.0080.00018.12
8.2.20.0000.00817.62
8.2.10.0000.00718.17
8.2.00.0020.00517.54
8.1.280.0030.01225.92
8.1.270.0040.00418.63
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00722.47
8.1.230.0050.00220.85
8.1.220.0040.00417.75
8.1.210.0000.00818.91
8.1.200.0000.00917.00
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0070.00318.64
8.1.160.0000.00721.87
8.1.150.0000.00818.74
8.1.140.0000.00718.98
8.1.130.0030.00317.81
8.1.120.0030.00317.37
8.1.110.0000.00817.33
8.1.100.0030.00517.37
8.1.90.0080.00017.32
8.1.80.0040.00417.37
8.1.70.0040.00417.36
8.1.60.0030.00617.59
8.1.50.0060.00317.49
8.1.40.0070.00417.37
8.1.30.0050.00317.59
8.1.20.0070.00017.55
8.1.10.0040.00417.52
8.1.00.0080.00017.44
8.0.300.0000.00719.89
8.0.290.0000.00816.88
8.0.280.0000.00718.45
8.0.270.0000.00817.30
8.0.260.0000.00617.13
8.0.250.0000.00716.91
8.0.240.0030.00317.03
8.0.230.0070.00016.95
8.0.220.0000.00716.91
8.0.210.0070.00016.85
8.0.200.0030.00316.86
8.0.190.0040.00416.84
8.0.180.0030.00316.84
8.0.170.0000.00816.97
8.0.160.0080.00016.94
8.0.150.0030.00316.93
8.0.140.0070.00016.87
8.0.130.0030.00313.36
8.0.120.0050.00316.91
8.0.110.0070.00016.92
8.0.100.0000.00716.91
8.0.90.0040.00416.78
8.0.80.0100.00716.84
8.0.70.0040.00416.77
8.0.60.0080.00016.93
8.0.50.0020.00516.85
8.0.30.0120.01217.00
8.0.20.0090.01117.40
8.0.10.0000.00716.81
8.0.00.0110.00516.95
7.4.330.0030.00315.05
7.4.320.0000.00716.49
7.4.300.0030.00316.44
7.4.290.0060.00016.43
7.4.280.0000.00816.52
7.4.270.0000.00616.35
7.4.260.0040.00416.41
7.4.250.0000.00716.31
7.4.240.0070.00016.44
7.4.230.0070.00016.33
7.4.220.0110.00616.49
7.4.210.0060.01216.50
7.4.200.0070.00016.24
7.4.160.0110.00416.29
7.4.150.0060.01117.40
7.4.140.0100.01117.86
7.4.130.0080.00916.54
7.4.120.0120.00716.48
7.4.110.0060.01216.44
7.4.100.0030.01616.29
7.4.90.0100.00716.57
7.4.80.0120.00419.39
7.4.70.0060.01616.39
7.4.60.0060.01016.50
7.4.50.0000.00816.36
7.4.40.0060.01216.58
7.4.30.0090.00916.57
7.4.00.0100.00514.85
7.3.330.0000.00612.97
7.3.320.0000.00513.15
7.3.310.0030.00516.12
7.3.300.0040.00416.25
7.3.290.0040.00916.26
7.3.280.0080.00716.29
7.3.270.0110.00817.40
7.3.260.0150.00316.47
7.3.250.0060.01116.51
7.3.240.0140.00716.29
7.3.230.0180.00616.39
7.3.210.0070.01016.22
7.3.200.0060.01319.39
7.3.190.0070.01016.53
7.3.180.0080.00916.27
7.3.170.0000.01716.30
7.3.160.0030.01316.52
7.3.120.0040.01414.63
7.3.110.0070.01114.82
7.3.100.0060.00914.84
7.3.90.0070.01114.57
7.3.80.0030.01214.71
7.3.70.0100.00314.64
7.3.60.0090.00614.65
7.3.50.0150.00414.89
7.3.40.0100.00314.86
7.3.30.0040.01114.57
7.3.20.0000.01616.72
7.3.10.0050.01016.46
7.3.00.0090.00516.61
7.2.330.0090.00916.59
7.2.320.0090.00916.33
7.2.310.0110.00616.54
7.2.300.0070.01016.33
7.2.290.0200.00016.31
7.2.250.0040.01414.98
7.2.240.0060.01314.77
7.2.230.0080.00314.66
7.2.220.0040.01514.88
7.2.210.0070.00714.95
7.2.200.0090.00914.95
7.2.190.0120.00814.79
7.2.180.0000.01214.74
7.2.170.0030.01014.88
7.2.130.0050.00516.73
7.2.120.0120.00316.70
7.2.110.0000.00916.65
7.2.100.0080.00816.49
7.2.90.0030.00516.69
7.2.80.0120.00616.72
7.2.70.0060.00916.53
7.2.60.0130.01016.39
7.2.50.0060.00916.67
7.2.40.0100.00316.61
7.2.30.0040.00816.41
7.2.20.0030.00916.52
7.2.10.0090.00616.74
7.2.00.0030.00618.00
7.1.330.0070.00715.78
7.1.320.0000.01715.78
7.1.310.0070.01015.46
7.1.300.0110.00315.81
7.1.290.0090.00315.83
7.1.280.0040.01115.45
7.1.270.0040.00415.25
7.1.260.0040.01115.59
7.1.250.0000.00715.81
7.1.100.0080.00417.98
7.1.70.0070.00016.98
7.1.60.0090.01519.46
7.1.50.0130.01016.82
7.1.00.0030.08022.43
7.0.200.0000.00716.68
7.0.140.0030.03322.09
7.0.60.0070.04020.07
7.0.50.0070.08017.79
7.0.40.0030.08320.24
7.0.30.0270.04320.00
7.0.20.0300.07020.17
7.0.10.0030.04320.12
7.0.00.0170.06320.08
5.6.280.0000.07721.12
5.6.210.0100.08020.47
5.6.200.0030.05018.12
5.6.190.0100.08320.77
5.6.180.0430.07720.41
5.6.170.0370.07320.45
5.6.160.0030.08720.41
5.6.150.0130.06718.21
5.6.140.0100.07718.10
5.6.130.0100.03718.19
5.6.120.0200.07021.05
5.6.110.0100.07720.96
5.6.100.0070.08021.14
5.6.90.0130.08021.07
5.6.80.0100.06320.28
5.5.350.0470.07720.52
5.5.340.0100.07317.93
5.5.330.0030.05720.57
5.5.320.0030.08320.27
5.5.310.0300.08020.50
5.5.300.0030.05018.02
5.5.290.0070.08317.88
5.5.280.0030.07320.84
5.5.270.0100.05720.78
5.5.260.0030.04020.64
5.5.250.0070.03720.55
5.5.240.0100.07020.35
5.4.450.0630.05019.43
5.4.440.0170.06019.46
5.4.430.0100.05719.32
5.4.420.0270.05719.25
5.4.410.0130.05019.19
5.4.400.0200.04318.96
5.4.390.1100.06718.50
5.4.380.1200.07718.44
5.4.370.0930.05318.43
5.4.360.0970.05718.60
5.4.350.0730.06318.68
5.4.340.0700.06718.69
5.4.320.0970.05318.61
5.4.310.0900.03718.57
5.4.300.1070.04718.68
5.4.290.0870.05318.66
5.4.280.1070.04318.61
5.4.270.1000.04318.61
5.4.260.0930.05018.42
5.4.250.0900.05318.55
5.4.240.0870.05318.49
5.4.230.0770.06318.57
5.4.220.0900.05018.51
5.4.210.0930.04718.71
5.4.200.0830.05316.38
5.4.190.0930.05718.53
5.4.180.0930.05018.66
5.4.170.0670.06318.70
5.4.160.0770.05018.54
5.4.150.0770.06018.47
5.4.140.0800.05316.21
5.4.130.0870.05316.23
5.4.120.0900.04716.17
5.4.110.0970.04716.17
5.4.100.0930.04716.13
5.4.90.0930.04716.22
5.4.80.0870.05716.03
5.4.70.0770.06316.20
5.4.60.0970.05016.14
5.4.50.0870.06316.27
5.4.40.0930.04716.02
5.4.30.0870.05316.10
5.4.20.0900.05316.31
5.4.10.0830.05316.14
5.4.00.0900.04715.63
5.3.290.0870.06714.66
5.3.280.0800.06314.51
5.3.270.0870.06014.55
5.3.260.1070.08014.57
5.3.250.0930.07314.60
5.3.240.1030.07314.70
5.3.230.1230.06014.55
5.3.220.0870.05714.60
5.3.210.0930.05714.60
5.3.200.0900.05314.56
5.3.190.1030.05314.53
5.3.180.1070.05014.55
5.3.170.0930.06314.65
5.3.160.0970.04714.64
5.3.150.0930.05014.54
5.3.140.0970.04714.64
5.3.130.0900.05714.65
5.3.120.0930.05714.44
5.3.110.0870.05014.52
5.3.100.0730.05714.11
5.3.90.0830.04714.11
5.3.80.0800.05014.01
5.3.70.0930.04713.93
5.3.60.1000.04713.90
5.3.50.0900.05313.93
5.3.40.0900.05013.92
5.3.30.0900.05014.01
5.3.20.0930.04713.67
5.3.10.0930.05013.57
5.3.00.0830.06313.61
5.2.170.0730.04311.13
5.2.160.1000.04311.11
5.2.150.0730.04311.32
5.2.140.0700.04711.11
5.2.130.0670.04311.08
5.2.120.0770.03711.15
5.2.110.0770.03711.26
5.2.100.0800.03311.27
5.2.90.0830.05711.04
5.2.80.0770.05011.09
5.2.70.0730.04011.07
5.2.60.0800.03711.08
5.2.50.0830.03011.07
5.2.40.0570.04710.93
5.2.30.0530.05010.91
5.2.20.0570.04711.18
5.2.10.0670.03711.27
5.2.00.0630.03711.13
5.1.60.0530.04010.27
5.1.50.0630.03310.37
5.1.40.0630.03710.27
5.1.30.0670.03710.71
5.1.20.0670.03010.70
5.1.10.0700.03010.38
5.1.00.0730.02710.44
5.0.50.0400.0208.81
5.0.40.0370.0238.69
5.0.30.0300.0538.39
5.0.20.0400.0238.47
5.0.10.0270.0308.52
5.0.00.0270.0438.58
4.4.90.0200.0276.23
4.4.80.0270.0236.25
4.4.70.0230.0236.16
4.4.60.0270.0236.28
4.4.50.0230.0276.18
4.4.40.0330.0336.25
4.4.30.0430.0236.18
4.4.20.0270.0276.23
4.4.10.0330.0206.29
4.4.00.0330.0336.29
4.3.110.0300.0236.18
4.3.100.0330.0206.23
4.3.90.0330.0176.27
4.3.80.0330.0336.21
4.3.70.0330.0176.17
4.3.60.0330.0176.20
4.3.50.0230.0236.22
4.3.40.0270.0336.14
4.3.30.0170.0204.93
4.3.20.0200.0174.90
4.3.10.0100.0274.66
4.3.00.0070.0206.94

preferences:
46.94 ms | 401 KiB | 5 Q