3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlstr = <<<XML <?xml version='1.0' standalone='yes'?> <movies> <movie> <title>PHP: Behind the Parser</title> <characters> <character> <name>Ms. Coder</name> <actor>Onlivia Actora</actor> </character> <character> <name>Mr. Coder</name> <actor>El Act&#211;r</actor> </character> </characters> <plot> So, this language. It's like, a programming language. Or is it a scripting language? All is revealed in this thrilling horror spoof of a documentary. </plot> <great-lines> <line>PHP solves all my web problems</line> </great-lines> <rating type="thumbs">7</rating> <rating type="stars">5</rating> </movie> </movies> XML; $movies = new SimpleXMLElement($xmlstr); var_dump($movies->movie[0]->plot); var_dump($movies->movie[0]->plot2[43]->hibeds[91]->erhui->herui->uiehr->f[4]);

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.0090.01217.00
8.3.50.0140.00522.08
8.3.40.0070.01018.79
8.3.30.0100.00719.26
8.3.20.0000.00720.59
8.3.10.0040.00421.82
8.3.00.0040.00421.06
8.2.180.0090.00619.03
8.2.170.0120.00919.16
8.2.160.0100.00622.96
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00318.18
8.2.110.0090.00020.72
8.2.100.0110.00018.34
8.2.90.0000.00819.48
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0000.00818.29
8.2.50.0060.00318.07
8.2.40.0090.00218.00
8.2.30.0030.00518.39
8.2.20.0030.00518.10
8.2.10.0030.00518.34
8.2.00.0040.00418.02
8.1.280.0150.00625.92
8.1.270.0030.00619.13
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00023.91
8.1.230.0000.01019.26
8.1.220.0030.00517.91
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0000.00818.74
8.1.160.0050.00222.14
8.1.150.0030.00819.05
8.1.140.0050.00217.49
8.1.130.0000.00718.03
8.1.120.0050.00217.55
8.1.110.0080.00017.53
8.1.100.0000.00717.62
8.1.90.0050.00217.67
8.1.80.0030.00317.60
8.1.70.0040.00417.60
8.1.60.0070.00017.61
8.1.50.0030.00517.65
8.1.40.0060.00317.55
8.1.30.0050.00317.83
8.1.20.0040.00417.61
8.1.10.0000.00717.66
8.1.00.0080.00017.74
8.0.300.0000.00718.77
8.0.290.0000.00717.00
8.0.280.0040.00418.52
8.0.270.0040.00417.36
8.0.260.0080.00017.39
8.0.250.0030.00317.05
8.0.240.0030.00317.06
8.0.230.0000.00717.03
8.0.220.0030.00317.11
8.0.210.0050.00217.00
8.0.200.0040.00417.09
8.0.190.0040.00417.07
8.0.180.0070.00017.00
8.0.170.0080.00017.15
8.0.160.0050.00317.14
8.0.150.0030.00516.94
8.0.140.0000.00817.15
8.0.130.0050.00313.55
8.0.120.0080.00017.16
8.0.110.0040.00417.04
8.0.100.0000.00717.17
8.0.90.0000.00716.93
8.0.80.0070.01117.13
8.0.70.0040.00416.96
8.0.60.0000.00716.97
8.0.50.0000.00816.93
8.0.30.0110.01217.29
8.0.20.0130.00717.40
8.0.10.0000.00717.10
8.0.00.0100.00817.20
7.4.330.0000.00515.25
7.4.320.0000.00616.76
7.4.300.0000.00616.66
7.4.290.0000.00816.77
7.4.280.0060.00316.62
7.4.270.0030.00316.81
7.4.260.0030.00516.74
7.4.250.0040.00416.66
7.4.240.0040.00316.76
7.4.230.0030.00316.59
7.4.220.0110.00716.71
7.4.210.0040.01116.88
7.4.200.0000.00816.82
7.4.160.0040.01116.82
7.4.150.0120.01317.40
7.4.140.0140.00917.86
7.4.130.0090.00916.72
7.4.120.0110.00716.88
7.4.110.0040.01316.74
7.4.100.0060.01616.87
7.4.90.0150.00316.93
7.4.80.0110.00619.39
7.4.70.0030.01416.78
7.4.60.0060.01116.62
7.4.50.0040.00416.47
7.4.40.0030.01316.66
7.4.30.0100.01716.89
7.4.10.0090.00915.15
7.4.00.0060.01214.94
7.3.330.0000.00713.32
7.3.320.0020.00213.31
7.3.310.0000.00716.30
7.3.300.0040.00416.49
7.3.290.0070.00816.48
7.3.280.0110.00816.51
7.3.270.0130.01017.40
7.3.260.0050.01416.56
7.3.250.0100.01216.68
7.3.240.0100.00716.48
7.3.230.0090.01516.62
7.3.210.0130.00716.63
7.3.200.0150.00819.39
7.3.190.0090.00616.52
7.3.180.0080.00816.72
7.3.170.0130.00916.71
7.3.160.0070.01016.78
7.3.130.0070.01315.21
7.3.120.0080.01014.92
7.3.110.0100.01014.96
7.3.100.0020.01115.03
7.3.90.0070.00314.82
7.3.80.0050.00815.07
7.3.70.0080.00714.94
7.3.60.0100.00714.98
7.3.50.0050.00914.95
7.3.40.0070.00514.95
7.3.30.0080.00514.93
7.3.20.0000.01216.69
7.3.10.0100.00516.75
7.3.00.0040.00816.82
7.2.330.0070.01116.91
7.2.320.0170.00016.54
7.2.310.0090.00616.62
7.2.300.0080.00916.36
7.2.290.0160.00416.63
7.2.260.0160.00314.86
7.2.250.0050.01214.96
7.2.240.0040.01515.34
7.2.230.0050.00815.07
7.2.220.0050.00715.20
7.2.210.0080.00814.98
7.2.200.0050.01014.95
7.2.190.0030.01214.95
7.2.180.0060.00715.07
7.2.170.0060.00815.02
7.2.160.0060.01015.04
7.2.150.0120.00316.69
7.2.140.0070.00317.07
7.2.130.0030.01216.95
7.2.120.0090.00317.02
7.2.110.0110.00716.90
7.2.100.0060.00916.96
7.2.90.0040.01416.87
7.2.80.0000.01216.87
7.2.70.0030.01216.83
7.2.60.0060.00816.81
7.2.50.0090.00916.87
7.2.40.0080.00416.96
7.2.30.0150.00416.86
7.2.20.0070.01116.97
7.2.10.0110.00816.79
7.2.00.0060.00818.25
7.1.330.0080.00715.72
7.1.320.0060.00615.90
7.1.310.0030.01115.74
7.1.300.0050.00515.90
7.1.290.0040.01015.76
7.1.280.0070.00615.82
7.1.270.0080.00915.84
7.1.260.0070.00715.82
7.1.250.0040.01115.68
7.1.240.0000.01215.94
7.1.230.0040.01115.85
7.1.220.0080.00015.68
7.1.210.0090.00016.04
7.1.200.0060.00615.78
7.1.190.0000.01715.68
7.1.180.0100.00715.85
7.1.170.0040.00715.61
7.1.160.0110.00415.70
7.1.150.0080.00315.76
7.1.140.0080.00815.66
7.1.130.0030.01216.04
7.1.120.0060.00715.93
7.1.110.0030.01015.82
7.1.100.0020.00817.26
7.1.90.0090.00615.95
7.1.80.0120.00315.86
7.1.70.0050.00516.68
7.1.60.0070.00817.62
7.1.50.0000.01316.26
7.1.40.0060.00615.75
7.1.30.0090.00915.56
7.1.20.0090.00915.53
7.1.10.0070.01015.86
7.1.00.0060.03919.30
7.0.330.0040.00715.53
7.0.320.0040.00815.27
7.0.310.0060.00315.49
7.0.300.0030.01215.63
7.0.290.0080.00815.25
7.0.280.0030.01015.34
7.0.270.0000.01115.43
7.0.260.0060.01015.49
7.0.250.0030.00715.38
7.0.240.0070.00715.57
7.0.230.0040.01115.58
7.0.220.0090.00915.63
7.0.210.0100.00015.48
7.0.200.0030.00915.19
7.0.190.0000.00815.22
7.0.180.0080.00615.64
7.0.170.0070.01015.47
7.0.160.0070.00415.62
7.0.150.0080.00415.38
7.0.140.0000.03718.79
7.0.130.0070.01115.34
7.0.120.0060.00615.32
7.0.110.0030.01015.43
7.0.100.0100.00315.31
7.0.90.0080.00415.70
7.0.80.0090.00615.52
7.0.70.0090.00615.52
7.0.60.0050.02917.76
7.0.50.0040.03016.75
7.0.40.0020.03316.90
7.0.30.0220.03717.04
7.0.20.0120.03216.78
7.0.10.0060.02416.97
7.0.00.0070.02716.84
5.6.400.0080.00414.57
5.6.390.0030.01314.58
5.6.380.0030.00914.48
5.6.370.0030.01014.48
5.6.360.0070.00714.38
5.6.350.0030.01414.57
5.6.340.0060.01214.75
5.6.330.0060.00614.30
5.6.320.0000.01514.86
5.6.310.0030.00714.48
5.6.300.0140.00014.70
5.6.290.0050.00514.58
5.6.280.0030.04017.91
5.6.270.0070.01114.45
5.6.260.0030.00614.52
5.6.250.0110.00014.52
5.6.240.0040.01114.39
5.6.230.0070.01014.48
5.6.220.0040.00814.46
5.6.210.0020.02717.68
5.6.200.0120.03116.30
5.6.190.0060.02517.34
5.6.180.0170.04017.64
5.6.170.0160.03817.49
5.6.160.0030.04917.50
5.6.150.0130.02816.44
5.6.140.0030.03916.39
5.6.130.0030.04616.30
5.6.120.0090.02317.81
5.6.110.0100.03317.88
5.6.100.0160.02517.66
5.6.90.0050.03817.80
5.6.80.0100.03317.34
5.6.70.0060.00614.35
5.6.60.0040.00714.42
5.6.50.0120.00314.23
5.6.40.0030.00914.18
5.6.30.0070.00714.48
5.6.20.0040.01114.32
5.6.10.0060.00914.29
5.6.00.0030.01114.38
5.5.380.0090.00314.56
5.5.370.0030.01214.43
5.5.360.0080.00414.42
5.5.350.0200.04217.26
5.5.340.0020.05216.29
5.5.330.0060.02817.33
5.5.320.0060.04017.42
5.5.310.0190.03917.43
5.5.300.0030.03316.19
5.5.290.0100.04516.35
5.5.280.0060.02517.57
5.5.270.0100.02717.60
5.5.260.0090.02517.72
5.5.250.0070.03917.66
5.5.240.0050.04417.20
5.5.230.0030.00714.38
5.5.220.0100.00714.41
5.5.210.0060.01214.32
5.5.200.0080.00014.42
5.5.190.0000.01014.29
5.5.180.0100.00714.45
5.5.170.0060.00914.35
5.5.160.0040.01114.17
5.5.150.0000.01114.38
5.5.140.0070.00714.34
5.5.130.0060.01014.46
5.5.120.0080.00314.44
5.5.110.0060.00614.20
5.5.100.0060.00914.28
5.5.90.0060.00914.35
5.5.80.0060.00613.89
5.5.70.0090.00613.88
5.5.60.0030.00714.48
5.5.50.0100.00314.48
5.5.40.0000.01514.15
5.5.30.0090.00614.20
5.5.20.0030.00614.47
5.5.10.0000.01614.51
5.5.00.0060.00614.37
5.4.450.0320.03815.85
5.4.440.0480.02515.77
5.4.430.0370.03015.76
5.4.420.0600.03015.75
5.4.410.0520.02715.70
5.4.400.0380.03815.48
5.4.390.0500.03015.42
5.4.380.0710.03315.25
5.4.370.0680.03515.33
5.4.360.0610.03815.39
5.4.350.0570.02515.25
5.4.340.0530.03315.36
5.4.330.0110.00011.98
5.4.320.0530.02715.41
5.4.310.0500.02715.29
5.4.300.0500.03215.29
5.4.290.0450.03415.37
5.4.280.0520.02815.32
5.4.270.0500.03315.25
5.4.260.0580.02815.36
5.4.250.0450.03515.27
5.4.240.0530.03115.41
5.4.230.0550.03315.36
5.4.220.0480.03215.24
5.4.210.0560.03015.37
5.4.200.0570.02814.34
5.4.190.0610.03815.29
5.4.180.0500.03215.41
5.4.170.0580.02815.27
5.4.160.0470.03215.26
5.4.150.0480.03715.36
5.4.140.0530.02814.21
5.4.130.0500.03014.19
5.4.120.0460.03014.20
5.4.110.0450.03414.12
5.4.100.0650.01814.18
5.4.90.0520.03014.20
5.4.80.0550.02314.19
5.4.70.0510.03114.20
5.4.60.0530.02814.09
5.4.50.0540.02214.07
5.4.40.0570.03014.17
5.4.30.0480.03514.18
5.4.20.0520.03014.09
5.4.10.0520.02714.17
5.4.00.0560.02813.85
5.3.290.1130.05714.68
5.3.280.1030.05714.71
5.3.270.1170.04714.64
5.3.260.1070.05314.71
5.3.250.1230.07014.72
5.3.240.1030.05314.66
5.3.230.1030.05014.65
5.3.220.0970.05314.57
5.3.210.1070.05014.57
5.3.200.0970.05714.70
5.3.190.1000.05314.67
5.3.180.0970.04714.70
5.3.170.0830.06314.63
5.3.160.0870.05714.77
5.3.150.1070.04714.74
5.3.140.1070.05014.77
5.3.130.1100.05014.57
5.3.120.1030.04714.66
5.3.110.1070.05014.72
5.3.100.1100.04314.13
5.3.90.1030.05314.23
5.3.80.1070.04714.09
5.3.70.0970.05314.05
5.3.60.1100.04014.05
5.3.50.0970.06314.13
5.3.40.0830.06014.11
5.3.30.0900.06014.09
5.3.20.1100.04713.83
5.3.10.1000.05013.68
5.3.00.0870.05313.70
5.2.170.0800.04011.27
5.2.160.1030.05011.44
5.2.150.0870.04011.45
5.2.140.0770.04711.34
5.2.130.0970.03311.26
5.2.120.0930.03311.11
5.2.110.0830.04311.20
5.2.100.0930.05311.40
5.2.90.0800.04011.13
5.2.80.1030.05311.23
5.2.70.0900.04011.13
5.2.60.0900.04011.30
5.2.50.1070.05011.13
5.2.40.0670.04011.00
5.2.30.0670.03710.97
5.2.20.0700.05311.28
5.2.10.0670.05011.16
5.2.00.0630.04310.83
5.1.60.0700.03710.19
5.1.50.0770.04010.21
5.1.40.0670.03710.28
5.1.30.0770.03010.52
5.1.20.0870.01710.65
5.1.10.0800.03010.21
5.1.00.0630.04310.39
5.0.50.0300.0338.84
5.0.40.0330.0338.64
5.0.30.0330.0438.43
5.0.20.0370.0278.56
5.0.10.0300.0338.52
5.0.00.0330.0438.28
4.4.90.0400.0135.91
4.4.80.0300.0375.91
4.4.70.0330.0235.88
4.4.60.0330.0205.89
4.4.50.0300.0275.95
4.4.40.0370.0375.91
4.4.30.0330.0275.90
4.4.20.0370.0206.03
4.4.10.0300.0235.90
4.4.00.0330.0376.00
4.3.110.0330.0235.85
4.3.100.0300.0235.87
4.3.90.0470.0205.89
4.3.80.0330.0435.85
4.3.70.0330.0235.85
4.3.60.0330.0205.85
4.3.50.0330.0235.95
4.3.40.0300.0375.85
4.3.30.0230.0205.85
4.3.20.0170.0235.85
4.3.10.0170.0235.85
4.3.00.0100.03714.47

preferences:
43.55 ms | 401 KiB | 5 Q