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; $parsed = simplexml_load_string($xml); $foo = isset($parsed->movies->movie->foo->bar->baz); var_dump($foo); ?>

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.40.0060.00918.66
8.3.30.0040.01119.14
8.3.20.0080.00020.34
8.3.10.0040.00420.70
8.3.00.0080.00019.67
8.2.170.0070.00722.96
8.2.160.0070.00719.07
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0040.00422.21
8.2.110.0060.00322.00
8.2.100.0090.00319.51
8.2.90.0030.00619.16
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0000.00717.79
8.2.50.0000.00818.07
8.2.40.0000.00818.20
8.2.30.0040.00419.38
8.2.20.0070.00017.77
8.2.10.0040.00417.99
8.2.00.0040.00417.81
8.1.270.0040.00422.22
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0090.00023.83
8.1.230.0040.00719.06
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0000.00917.23
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0030.00618.45
8.1.160.0070.00022.05
8.1.150.0000.00718.72
8.1.140.0000.00717.36
8.1.130.0070.00017.84
8.1.120.0040.00417.42
8.1.110.0070.00017.41
8.1.100.0000.00717.39
8.1.90.0030.00517.43
8.1.80.0040.00417.42
8.1.70.0030.00317.40
8.1.60.0040.00417.55
8.1.50.0050.00317.47
8.1.40.0000.00817.34
8.1.30.0040.00417.46
8.1.20.0000.00717.49
8.1.10.0000.00817.57
8.1.00.0040.00817.50
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0040.00418.39
8.0.270.0000.00817.31
8.0.260.0000.00617.08
8.0.250.0030.00317.02
8.0.240.0060.00017.01
8.0.230.0030.00316.97
8.0.220.0030.00316.94
8.0.210.0000.00716.77
8.0.200.0070.00016.93
8.0.190.0040.00416.90
8.0.180.0040.00416.95
8.0.170.0000.00716.83
8.0.160.0060.00316.89
8.0.150.0000.00716.80
8.0.140.0070.00016.84
8.0.130.0060.00013.37
8.0.120.0110.00016.85
8.0.110.0030.00316.85
8.0.100.0040.00416.80
8.0.90.0040.00416.79
8.0.80.0130.00316.89
8.0.70.0000.00816.76
8.0.60.0040.00416.80
8.0.50.0040.00416.85
8.0.30.0140.01017.26
8.0.20.0060.01217.40
8.0.10.0040.00416.88
8.0.00.0160.00316.89
7.4.330.0000.00515.00
7.4.320.0060.00016.61
7.4.300.0030.00316.51
7.4.290.0050.00316.58
7.4.280.0030.00716.62
7.4.270.0030.00316.63
7.4.260.0030.00316.68
7.4.250.0000.00716.64
7.4.240.0020.00616.46
7.4.230.0030.00316.35
7.4.220.0160.00916.65
7.4.210.0130.00916.51
7.4.200.0050.00216.68
7.4.160.0090.00616.49
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0140.00416.49
7.4.120.0030.01716.52
7.4.110.0100.00716.41
7.4.100.0110.00616.70
7.4.90.0090.00916.69
7.4.80.0120.01216.50
7.4.70.0080.01016.50
7.4.60.0110.00516.59
7.4.50.0050.00016.55
7.4.40.0090.01416.55
7.4.30.0120.00316.55
7.4.00.0070.01015.00
7.3.330.0000.00513.10
7.3.320.0060.00313.05
7.3.310.0000.00716.35
7.3.300.0030.00316.19
7.3.290.0110.00316.20
7.3.280.0080.00716.22
7.3.270.0130.01017.40
7.3.260.0060.01216.54
7.3.250.0090.01116.49
7.3.240.0090.00916.53
7.3.230.0070.01016.46
7.3.210.0100.00716.32
7.3.200.0120.00619.39
7.3.190.0070.01016.46
7.3.180.0030.01216.48
7.3.170.0090.01216.39
7.3.160.0110.00416.49
7.3.00.0030.01016.64
7.2.330.0180.00316.41
7.2.320.0030.01316.52
7.2.310.0090.00916.59
7.2.300.0130.00716.51
7.2.290.0130.01016.49
7.2.130.0080.00416.93
7.2.120.0080.00816.67
7.2.110.0060.00616.78
7.2.100.0030.00716.73
7.2.90.0090.00416.73
7.2.80.0120.00016.78
7.2.70.0060.00316.82
7.2.60.0060.00616.64
7.2.50.0030.00716.72
7.2.40.0000.00916.75
7.2.30.0030.00716.80
7.2.20.0050.00516.85
7.2.10.0150.00316.81
7.2.00.0080.00618.10
7.1.250.0060.00315.63
7.1.240.0110.00315.78
7.1.230.0030.00715.53
7.1.220.0040.01115.76
7.1.210.0000.00815.68
7.1.200.0050.00715.62
7.1.190.0100.00315.80
7.1.180.0000.01215.70
7.1.170.0000.00815.68
7.1.160.0040.00815.49
7.1.150.0000.01015.32
7.1.140.0040.01115.76
7.1.130.0000.01415.72
7.1.120.0070.00715.86
7.1.110.0070.00715.63
7.1.100.0080.00516.82
7.1.90.0090.00315.82
7.1.80.0070.01115.61
7.1.70.0040.00716.26
7.1.60.0130.00517.53
7.1.50.0070.01016.20
7.1.40.0090.00315.52
7.1.30.0040.00815.82
7.1.20.0000.01315.65
7.1.10.0000.01815.53
7.1.00.0060.03819.18
7.0.330.0070.00315.26
7.0.320.0040.00415.55
7.0.310.0040.00815.14
7.0.300.0110.00015.21
7.0.290.0040.00915.44
7.0.280.0030.01015.05
7.0.270.0110.00015.11
7.0.260.0030.01315.15
7.0.250.0070.00715.30
7.0.240.0100.00315.20
7.0.230.0130.00315.16
7.0.220.0060.00815.36
7.0.210.0040.00815.21
7.0.200.0040.00715.91
7.0.190.0060.00315.17
7.0.180.0000.01115.13
7.0.170.0100.00015.45
7.0.160.0030.00715.36
7.0.150.0120.00315.43
7.0.140.0080.03818.70
7.0.130.0030.00915.17
7.0.120.0070.01015.44
7.0.110.0030.00915.39
7.0.100.0030.00715.39
7.0.90.0060.00614.96
7.0.80.0090.00615.50
7.0.70.0060.00615.39
7.0.60.0070.03717.67
7.0.50.0070.03816.63
7.0.40.0050.02516.90
7.0.30.0150.02016.81
7.0.20.0150.02016.80
7.0.10.0030.03616.79
7.0.00.0050.04516.70
5.6.380.0000.00814.30
5.6.370.0040.00814.34
5.6.360.0040.00414.20
5.6.350.0090.00314.33
5.6.340.0080.00814.39
5.6.330.0090.00014.07
5.6.320.0100.00714.32
5.6.310.0070.00714.45
5.6.300.0070.00314.25
5.6.290.0030.01014.07
5.6.280.0000.04317.54
5.6.270.0040.00714.28
5.6.260.0090.00014.46
5.6.250.0100.00314.03
5.6.240.0030.00913.93
5.6.230.0030.01014.22
5.6.220.0030.01014.04
5.6.210.0030.02617.36
5.6.200.0070.04016.17
5.6.190.0080.03017.40
5.6.180.0220.03017.28
5.6.170.0190.02117.30
5.6.160.0050.04617.26
5.6.150.0030.02316.11
5.6.140.0060.02816.28
5.6.130.0030.04116.08
5.6.120.0070.04317.55
5.6.110.0070.04317.72
5.6.100.0050.04617.60
5.6.90.0080.03317.53
5.6.80.0100.03717.25
5.6.70.0030.01214.18
5.6.60.0080.00314.29
5.6.50.0060.00614.09
5.6.40.0040.01014.05
5.6.30.0070.00714.17
5.6.20.0020.00914.10
5.6.10.0060.00614.07
5.6.00.0090.00614.08
5.5.380.0040.00411.18
5.5.370.0060.00011.18
5.5.360.0000.00711.18
5.5.350.0120.04015.73
5.5.340.0030.04214.55
5.5.330.0060.04615.70
5.5.320.0150.02415.73
5.5.310.0120.02915.72
5.5.300.0050.03414.60
5.5.290.0080.04014.61
5.5.280.0030.04615.94
5.5.270.0080.02715.99
5.5.260.0030.05015.94
5.5.250.0080.04115.88
5.5.240.0050.02615.68
5.5.230.0000.00911.18
5.5.220.0000.01011.18
5.5.210.0050.00511.18
5.5.200.0050.00011.18
5.5.190.0000.00811.18
5.5.180.0040.00711.18
5.5.170.0080.00411.18
5.5.160.0060.00611.18
5.5.150.0080.00011.18
5.5.140.0070.00311.18
5.5.130.0000.00711.18
5.5.120.0000.00711.18
5.5.110.0040.00711.18
5.5.100.0060.00311.18
5.5.90.0050.00311.18
5.5.80.0050.00511.18
5.5.70.0070.00411.18
5.5.60.0080.00011.18
5.5.50.0030.00811.18
5.5.40.0000.00611.18
5.5.30.0000.01011.18
5.5.20.0040.00711.18
5.5.10.0070.00311.18
5.5.00.0000.01111.18
5.4.450.0150.03615.39
5.4.440.0530.02315.38
5.4.430.0120.02515.17
5.4.420.0430.03315.39
5.4.410.0480.03215.26
5.4.400.0520.03514.99
5.4.390.0510.02515.21
5.4.380.0290.03714.93
5.4.370.0180.03214.96
5.4.360.0180.02914.88
5.4.350.0220.03714.96
5.4.340.0160.03014.94
5.4.330.0090.00011.18
5.4.320.0070.02211.82
5.4.310.0060.02111.81
5.4.300.0030.03011.82
5.4.290.0040.02511.81
5.4.280.0060.02011.77
5.4.270.0040.02211.76
5.4.260.0010.02711.77
5.4.250.0060.02211.76
5.4.240.0050.01911.77
5.4.230.0030.02211.76
5.4.220.0040.02211.76
5.4.210.0070.02311.76
5.4.200.0040.02111.76
5.4.190.0050.02011.76
5.4.180.0100.01611.76
5.4.170.0080.02511.77
5.4.160.0020.02611.76
5.4.150.0050.02111.76
5.4.140.0010.02911.60
5.4.130.0020.02211.60
5.4.120.0070.02511.58
5.4.110.0020.02311.57
5.4.100.0050.02611.57
5.4.90.0050.02611.57
5.4.80.0030.02711.57
5.4.70.0040.02411.57
5.4.60.0070.02211.57
5.4.50.0040.02611.57
5.4.40.0060.02211.57
5.4.30.0060.02211.57
5.4.20.0040.02411.57
5.4.10.0060.02511.56
5.4.00.0040.02211.31
5.3.290.0040.02311.99
5.3.280.0060.02511.94
5.3.270.0060.02311.95
5.3.260.0040.03011.95
5.3.250.0060.02311.95
5.3.240.0030.02111.95
5.3.230.0040.02311.94
5.3.220.0050.02011.93
5.3.210.0040.02311.93
5.3.200.0060.02111.93
5.3.190.0060.02711.93
5.3.180.0060.02711.92
5.3.170.0050.02511.92
5.3.160.0050.02011.93
5.3.150.0050.02211.93
5.3.140.0050.02111.92
5.3.130.0040.02411.92
5.3.120.0020.02611.91
5.3.110.0010.02411.92
5.3.100.0050.02211.65
5.3.90.0060.02211.63
5.3.80.0060.02511.63
5.3.70.0040.02911.63
5.3.60.0070.02011.62
5.3.50.0040.02211.59
5.3.40.0080.02211.59
5.3.30.0040.02511.56
5.3.20.0080.02011.45
5.3.10.0050.01811.44
5.3.00.0060.02011.43
5.2.170.0050.01810.18
5.2.160.0070.01410.18
5.2.150.0040.02010.18
5.2.140.0050.02010.18
5.2.130.0070.01910.16
5.2.120.0040.02010.16
5.2.110.0060.02410.17
5.2.100.0030.02110.16
5.2.90.0030.02210.16
5.2.80.0020.01810.16
5.2.70.0030.01810.16
5.2.60.0020.02010.13
5.2.50.0040.01710.12
5.2.40.0040.01710.11
5.2.30.0030.01810.10
5.2.20.0020.01610.10
5.2.10.0050.01610.06
5.2.00.0030.0189.99
5.1.60.0050.0139.64
5.1.50.0030.0159.64
5.1.40.0050.0149.63
5.1.30.0040.0209.80
5.1.20.0060.0159.81
5.1.10.0020.0219.67
5.1.00.0040.0199.67
5.0.50.0040.0138.91
5.0.40.0040.0118.84
5.0.30.0040.0188.75
5.0.20.0030.0148.73
5.0.10.0030.0118.72
5.0.00.0060.0148.72
4.4.90.0050.0077.98
4.4.80.0030.0097.96
4.4.70.0020.0167.96
4.4.60.0030.0097.96
4.4.50.0020.0117.97
4.4.40.0020.0167.94
4.4.30.0010.0127.97
4.4.20.0010.0128.01
4.4.10.0010.0118.01
4.4.00.0020.0147.97
4.3.110.0030.0087.92
4.3.100.0040.0077.92
4.3.90.0010.0117.90
4.3.80.0030.0147.88
4.3.70.0030.0087.90
4.3.60.0020.0097.90
4.3.50.0040.0107.90
4.3.40.0040.0127.86
4.3.30.0020.0127.24
4.3.20.0030.0127.23
4.3.10.0040.0137.21
4.3.00.0050.0138.99

preferences:
76.84 ms | 400 KiB | 5 Q