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; $a = unserialize($a); var_dump($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.60.0160.00318.31
8.3.50.0120.00318.17
8.3.40.0060.01018.57
8.3.30.0170.00019.02
8.3.20.0090.00020.21
8.3.10.0030.00621.65
8.3.00.0090.00019.21
8.2.180.0120.01216.50
8.2.170.0090.00622.96
8.2.160.0100.01322.20
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0060.00319.54
8.2.110.0060.00622.07
8.2.100.0060.00617.78
8.2.90.0000.00817.78
8.2.80.0120.00017.97
8.2.70.0000.00917.38
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0040.00418.16
8.2.30.0040.00417.88
8.2.20.0000.00817.56
8.2.10.0000.00817.96
8.2.00.0000.00817.61
8.1.280.0170.00325.92
8.1.270.0060.00318.93
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0070.00422.33
8.1.230.0120.00020.97
8.1.220.0030.00617.74
8.1.210.0080.00018.85
8.1.200.0070.00417.11
8.1.190.0030.00617.25
8.1.180.0040.00418.10
8.1.170.0030.00618.39
8.1.160.0090.00022.01
8.1.150.0030.00518.75
8.1.140.0030.00519.28
8.1.130.0040.00417.75
8.1.120.0030.00517.44
8.1.110.0060.00317.42
8.1.100.0000.00817.44
8.1.90.0030.00517.41
8.1.80.0050.00317.39
8.1.70.0040.00417.43
8.1.60.0100.00017.47
8.1.50.0040.00417.49
8.1.40.0100.00017.54
8.1.30.0060.00317.51
8.1.20.0000.00817.52
8.1.10.0000.00817.32
8.1.00.0070.00417.39
8.0.300.0030.00519.82
8.0.290.0040.00416.63
8.0.280.0000.00818.33
8.0.270.0000.00717.25
8.0.260.0050.00217.13
8.0.250.0050.00216.98
8.0.240.0050.00216.88
8.0.230.0000.00716.92
8.0.220.0050.00316.90
8.0.210.0000.00716.96
8.0.200.0050.00316.85
8.0.190.0040.00416.95
8.0.180.0070.00016.92
8.0.170.0060.00316.81
8.0.160.0080.00016.95
8.0.150.0040.00416.77
8.0.140.0000.00716.84
8.0.130.0030.00313.37
8.0.120.0040.00416.77
8.0.110.0050.00216.95
8.0.100.0000.00816.90
8.0.90.0000.00816.89
8.0.80.0170.00016.92
8.0.70.0000.00816.74
8.0.60.0030.00616.93
8.0.50.0050.00216.87
8.0.30.0130.00816.91
8.0.20.0110.01317.40
8.0.10.0040.00417.05
8.0.00.0060.01416.62
7.4.330.0000.00615.03
7.4.320.0030.00316.43
7.4.300.0030.00316.54
7.4.290.0040.00416.46
7.4.280.0060.00316.33
7.4.270.0040.00416.54
7.4.260.0100.00016.45
7.4.250.0000.00816.40
7.4.240.0030.00416.39
7.4.230.0030.00316.34
7.4.220.0150.00416.38
7.4.210.0120.00816.54
7.4.200.0000.00816.34
7.4.160.0080.01216.45
7.4.150.0200.00317.40
7.4.140.0180.00917.86
7.4.130.0110.01016.34
7.4.120.0140.00816.38
7.4.110.0170.01316.51
7.4.100.0160.00616.50
7.4.90.0170.01016.64
7.4.80.0040.01719.39
7.4.70.0150.01516.61
7.4.60.0100.01616.50
7.4.50.0090.00016.45
7.4.40.0080.01116.59
7.4.30.0000.02316.57
7.4.00.0090.00915.11
7.3.330.0030.00512.98
7.3.320.0030.00313.21
7.3.310.0040.00416.16
7.3.300.0060.00316.23
7.3.290.0060.01016.23
7.3.280.0090.00916.20
7.3.270.0180.00317.40
7.3.260.0140.00716.25
7.3.250.0180.00616.18
7.3.240.0120.01316.35
7.3.230.0150.00616.39
7.3.210.0100.01016.27
7.3.200.0110.01119.39
7.3.190.0130.00716.39
7.3.180.0120.00716.40
7.3.170.0100.01016.43
7.3.160.0130.00616.17
7.2.330.0090.01216.51
7.2.320.0060.01516.38
7.2.310.0150.00416.60
7.2.300.0100.01016.70
7.2.290.0100.01016.51
7.2.00.0040.01119.27
7.1.100.0000.01318.31
7.1.70.0040.00717.13
7.1.60.0200.00719.46
7.1.50.0130.01316.56
7.1.00.0170.07722.48
7.0.200.0140.00016.68
7.0.140.0000.03722.08
7.0.60.0100.08319.91
7.0.50.0130.07717.90
7.0.40.0030.06020.40
7.0.30.0200.04320.09
7.0.20.0270.03720.09
7.0.10.0000.09320.16
7.0.00.0100.09020.18
5.6.280.0070.07020.85
5.6.210.0130.07320.51
5.6.200.0000.09018.08
5.6.190.0070.04320.63
5.6.180.0130.05320.56
5.6.170.0430.04320.54
5.6.160.0070.05320.46
5.6.150.0030.07018.22
5.6.140.0070.07318.16
5.6.130.0000.07318.11
5.6.120.0070.08321.02
5.6.110.0070.04021.02
5.6.100.0030.05321.06
5.6.90.0070.03720.98
5.6.80.0070.06720.45
5.5.350.3800.04020.36
5.5.340.0000.06018.01
5.5.330.0070.05320.21
5.5.320.0370.08320.26
5.5.310.0330.07320.33
5.5.300.0030.05318.02
5.5.290.0070.08717.95
5.5.280.0100.08320.76
5.5.270.0200.07020.91
5.5.260.0070.03720.90
5.5.250.0070.04020.82
5.5.240.0100.07020.26
5.4.450.0730.05019.10
5.4.440.0070.06319.54
5.4.430.0100.06019.63
5.4.420.0170.05319.50
5.4.410.0130.07019.26
5.4.400.0230.04319.00
5.4.390.0730.05718.53
5.4.380.0700.05718.46
5.4.370.0800.04718.66
5.4.360.0800.04718.71
5.4.350.0800.06018.59
5.4.340.0730.06018.55
5.4.320.0830.05018.51
5.4.310.0930.06318.70
5.4.300.0930.05318.62
5.4.290.0930.05018.68
5.4.280.1030.04018.67
5.4.270.0900.05718.66
5.4.260.1000.05018.63
5.4.250.1030.06018.45
5.4.240.0900.06718.59
5.4.230.1030.07718.55
5.4.220.0900.06318.64
5.4.210.0830.05018.59
5.4.200.0730.05716.63
5.4.190.0870.05718.52
5.4.180.1100.07018.44
5.4.170.0900.05718.66
5.4.160.1030.04718.50
5.4.150.1130.05018.64
5.4.140.1000.05716.28
5.4.130.1000.04316.25
5.4.120.0930.05316.18
5.4.110.0970.05016.25
5.4.100.0930.05016.14
5.4.90.0830.06016.18
5.4.80.0830.05716.14
5.4.70.1030.04716.14
5.4.60.0970.05016.16
5.4.50.0770.04716.07
5.4.40.0900.05316.23
5.4.30.0900.05316.12
5.4.20.0800.06016.30
5.4.10.1000.06716.15
5.4.00.0930.05315.64
5.3.290.0930.05014.68
5.3.280.0700.06314.65
5.3.270.0800.06014.67
5.3.260.0830.05014.73
5.3.250.0730.06014.57
5.3.240.0930.04314.53
5.3.230.0870.05014.68
5.3.220.0930.05314.51
5.3.210.0930.05314.68
5.3.200.0830.05014.59
5.3.190.0870.05014.57
5.3.180.0970.05014.58
5.3.170.0900.05714.60
5.3.160.0970.06014.50
5.3.150.0770.05314.51
5.3.140.0700.07014.48
5.3.130.0770.06314.65
5.3.120.0900.05314.68
5.3.110.0830.05714.51
5.3.100.0670.06314.10
5.3.90.0700.06314.15
5.3.80.0930.05714.03
5.3.70.0930.05314.14
5.3.60.0800.05714.01
5.3.50.0900.05313.96
5.3.40.0930.06313.95
5.3.30.0900.04313.83
5.3.20.0900.05013.80
5.3.10.0900.05313.68
5.3.00.0800.06013.77
5.2.170.0700.05011.22
5.2.160.0800.04011.21
5.2.150.0770.05011.16
5.2.140.0730.04711.14
5.2.130.0730.04011.13
5.2.120.0830.03711.18
5.2.110.0700.04711.19
5.2.100.0670.04711.19
5.2.90.0730.04011.21
5.2.80.0770.04311.06
5.2.70.0830.04011.05
5.2.60.0800.06011.14
5.2.50.0830.04311.04
5.2.40.0030.04710.98
5.2.30.0170.03310.99
5.2.20.0030.04711.13
5.2.10.0100.04711.16
5.2.00.0130.03711.00
5.1.60.0570.04010.26
5.1.50.0530.04010.23
5.1.40.0570.03710.16
5.1.30.0600.04310.60
5.1.20.0570.04010.54
5.1.10.0670.03310.35
5.1.00.0600.03710.27
5.0.50.0430.0208.91
5.0.40.0300.0308.69
5.0.30.0400.0378.59
5.0.20.0300.0308.45
5.0.10.0270.0338.59
5.0.00.0330.0478.58
4.4.90.0300.0306.28
4.4.80.0330.0236.24
4.4.70.0330.0336.18
4.4.60.0330.0206.24
4.4.50.0370.0176.27
4.4.40.0470.0276.23
4.4.30.0370.0206.36
4.4.20.0270.0276.32
4.4.10.0230.0306.41
4.4.00.0300.0406.27
4.3.110.0370.0206.12
4.3.100.0300.0306.16
4.3.90.0300.0276.14
4.3.80.0370.0406.23
4.3.70.0330.0236.17
4.3.60.0270.0336.15
4.3.50.0330.0276.15
4.3.40.0330.0376.10
4.3.30.0230.0274.94
4.3.20.0130.0304.89
4.3.10.0170.0274.70
4.3.00.0070.0308.67

preferences:
55.7 ms | 400 KiB | 5 Q