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($xmlstr); $foo = isset($parsed->movie); 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.60.0070.00718.56
8.3.50.0070.01322.08
8.3.40.0070.00718.90
8.3.30.0060.00819.26
8.3.20.0050.00520.47
8.3.10.0040.00420.68
8.3.00.0080.00019.78
8.2.180.0070.00716.75
8.2.170.0110.00422.96
8.2.160.0090.00620.46
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0070.00022.36
8.2.110.0070.01122.37
8.2.100.0060.00618.03
8.2.90.0050.00319.18
8.2.80.0040.00417.97
8.2.70.0030.00617.72
8.2.60.0040.00418.05
8.2.50.0060.00318.07
8.2.40.0050.00318.28
8.2.30.0050.00219.46
8.2.20.0040.00417.89
8.2.10.0040.00418.26
8.2.00.0000.00817.90
8.1.280.0120.00325.92
8.1.270.0060.00322.39
8.1.260.0050.00326.35
8.1.250.0110.00428.09
8.1.240.0030.00624.11
8.1.230.0000.01119.41
8.1.220.0080.00017.88
8.1.210.0000.00818.77
8.1.200.0050.00517.35
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00818.61
8.1.160.0000.00722.18
8.1.150.0000.00719.05
8.1.140.0000.00817.59
8.1.130.0070.00018.16
8.1.120.0000.00717.53
8.1.110.0000.00817.68
8.1.100.0000.00717.66
8.1.90.0000.00717.48
8.1.80.0040.00417.65
8.1.70.0040.00417.52
8.1.60.0020.00517.59
8.1.50.0040.00417.58
8.1.40.0000.00917.61
8.1.30.0030.00517.70
8.1.20.0030.00617.68
8.1.10.0000.00817.73
8.1.00.0090.00317.72
8.0.300.0040.00418.77
8.0.290.0000.00816.88
8.0.280.0080.00018.59
8.0.270.0040.00417.31
8.0.260.0030.00317.41
8.0.250.0030.00617.25
8.0.240.0030.00317.15
8.0.230.0070.00017.06
8.0.220.0000.00617.05
8.0.210.0000.00717.13
8.0.200.0040.00417.24
8.0.190.0000.00817.13
8.0.180.0040.00417.16
8.0.170.0080.00017.21
8.0.160.0000.00816.98
8.0.150.0040.00417.04
8.0.140.0040.00417.04
8.0.130.0030.00313.46
8.0.120.0040.00417.03
8.0.110.0040.00417.18
8.0.100.0040.00417.00
8.0.90.0000.00717.13
8.0.80.0040.01117.10
8.0.70.0050.00316.98
8.0.60.0040.00417.21
8.0.50.0050.00217.16
8.0.30.0150.00817.37
8.0.20.0140.00617.47
8.0.10.0040.00417.24
8.0.00.0060.01516.75
7.4.330.0050.00015.18
7.4.320.0000.00616.63
7.4.300.0000.00716.54
7.4.290.0060.00316.64
7.4.280.0000.01116.66
7.4.270.0070.00016.64
7.4.260.0070.00016.76
7.4.250.0000.00716.68
7.4.240.0060.00216.75
7.4.230.0070.00016.86
7.4.220.0090.00916.64
7.4.210.0000.01616.78
7.4.200.0040.00416.84
7.4.160.0120.00416.71
7.4.150.0110.00817.40
7.4.140.0060.01217.86
7.4.130.0100.00716.74
7.4.120.0100.00916.83
7.4.110.0070.01016.76
7.4.100.0120.00616.71
7.4.90.0140.00316.77
7.4.80.0100.00716.68
7.4.70.0140.00316.73
7.4.60.0090.00916.62
7.4.50.0030.00316.45
7.4.40.0150.00316.79
7.4.30.0090.00616.50
7.4.10.0070.01115.09
7.4.00.0080.00915.04
7.3.330.0000.00513.29
7.3.320.0000.00713.27
7.3.310.0030.00316.50
7.3.300.0070.00016.36
7.3.290.0070.00716.41
7.3.280.0050.00916.39
7.3.270.0000.02217.40
7.3.260.0090.00916.63
7.3.250.0110.00616.51
7.3.240.0100.00616.63
7.3.230.0030.01416.47
7.3.210.0100.01416.73
7.3.200.0100.00719.39
7.3.190.0160.00616.64
7.3.180.0100.00716.74
7.3.170.0030.01516.48
7.3.160.0100.00716.56
7.3.130.0060.01214.73
7.3.120.0070.01115.00
7.3.110.0080.00814.92
7.3.100.0070.00714.95
7.3.90.0070.00514.66
7.3.80.0090.00514.68
7.3.70.0030.00714.88
7.3.60.0000.01414.80
7.3.50.0070.00914.63
7.3.40.0060.00614.73
7.3.30.0050.00614.91
7.3.20.0050.00716.68
7.3.10.0090.00316.75
7.3.00.0080.00416.74
7.2.330.0090.00916.50
7.2.320.0120.00916.81
7.2.310.0160.00616.82
7.2.300.0100.01416.70
7.2.290.0090.00916.82
7.2.260.0070.01015.20
7.2.250.0060.00915.03
7.2.240.0070.01014.95
7.2.230.0080.00815.14
7.2.220.0080.00714.93
7.2.210.0050.01015.09
7.2.200.0050.00714.83
7.2.190.0080.00515.04
7.2.180.0060.00614.96
7.2.170.0040.00815.03
7.2.160.0030.01014.82
7.2.150.0040.00416.93
7.2.140.0000.01416.81
7.2.130.0080.00816.92
7.2.120.0060.00616.78
7.2.110.0050.00716.96
7.2.100.0060.00516.80
7.2.90.0050.00716.82
7.2.80.0030.00916.92
7.2.70.0080.00616.95
7.2.60.0050.00716.89
7.2.50.0100.00517.02
7.2.40.0100.00716.99
7.2.30.0050.00817.04
7.2.20.0050.00717.14
7.2.10.0080.00817.10
7.2.00.0120.00317.72
7.1.330.0060.00815.92
7.1.320.0010.01015.86
7.1.310.0060.00615.64
7.1.300.0020.01015.84
7.1.290.0040.00715.80
7.1.280.0080.00515.71
7.1.270.0070.00515.84
7.1.260.0040.01115.73
7.1.250.0030.01015.57
7.1.240.0140.00015.81
7.1.230.0000.01415.80
7.1.220.0110.00015.83
7.1.210.0070.00715.66
7.1.200.0030.01015.82
7.1.190.0110.00015.93
7.1.180.0030.00515.70
7.1.170.0120.00015.83
7.1.160.0090.00615.81
7.1.150.0040.01115.80
7.1.140.0030.00515.63
7.1.130.0060.00515.71
7.1.120.0030.00915.94
7.1.110.0080.00415.89
7.1.100.0040.00716.93
7.1.90.0060.00915.61
7.1.80.0060.00315.99
7.1.70.0030.00816.27
7.1.60.0100.01017.47
7.1.50.0090.00916.46
7.1.40.0000.01115.89
7.1.30.0040.01115.77
7.1.20.0030.01215.50
7.1.10.0000.01315.84
7.1.00.0080.03519.04
7.0.330.0000.00815.35
7.0.320.0030.01215.27
7.0.310.0060.00615.53
7.0.300.0030.00715.21
7.0.290.0060.00315.41
7.0.280.0040.00415.50
7.0.270.0030.01315.66
7.0.260.0060.00615.45
7.0.250.0040.00715.59
7.0.240.0000.01515.42
7.0.230.0100.00315.46
7.0.220.0060.00315.76
7.0.210.0080.00315.54
7.0.200.0030.00715.96
7.0.190.0060.00915.41
7.0.180.0060.00615.50
7.0.170.0030.01115.42
7.0.160.0040.00415.56
7.0.150.0000.01415.41
7.0.140.0050.04118.63
7.0.130.0000.01415.46
7.0.120.0070.00715.52
7.0.110.0060.00615.52
7.0.100.0000.00815.43
7.0.90.0070.00315.59
7.0.80.0030.00515.46
7.0.70.0070.00715.45
7.0.60.0040.03417.72
7.0.50.0050.02616.63
7.0.40.0050.04816.71
7.0.30.0250.02716.84
7.0.20.0150.03216.85
7.0.10.0070.03816.75
7.0.00.0030.02816.78
5.6.400.0040.00414.42
5.6.390.0070.00714.46
5.6.380.0030.01014.27
5.6.370.0060.00314.26
5.6.360.0030.00914.48
5.6.350.0070.00714.34
5.6.340.0060.00314.22
5.6.330.0060.00614.52
5.6.320.0060.00614.21
5.6.310.0070.01014.18
5.6.300.0060.00314.37
5.6.290.0080.00514.50
5.6.280.0050.04017.78
5.6.270.0060.00314.32
5.6.260.0030.00514.32
5.6.250.0030.01414.19
5.6.240.0090.00914.62
5.6.230.0060.00614.30
5.6.220.0060.00614.25
5.6.210.0080.04217.63
5.6.200.0030.02816.30
5.6.190.0080.02617.44
5.6.180.0230.02317.30
5.6.170.0200.02317.45
5.6.160.0050.04417.57
5.6.150.0050.02316.49
5.6.140.0120.04016.23
5.6.130.0080.02016.24
5.6.120.0030.04717.74
5.6.110.0030.03917.69
5.6.100.0030.05017.72
5.6.90.0100.04017.64
5.6.80.0050.04317.36
5.6.70.0060.00314.22
5.6.60.0000.01414.08
5.6.50.0110.00014.17
5.6.40.0070.00714.12
5.6.30.0110.00414.08
5.6.20.0000.01214.21
5.6.10.0110.00314.38
5.6.00.0110.00314.07
5.5.380.0080.00814.41
5.5.370.0070.00914.01
5.5.360.0070.00514.13
5.5.350.0120.04417.39
5.5.340.0130.04116.22
5.5.330.0020.05517.33
5.5.320.0260.04117.14
5.5.310.0110.02817.21
5.5.300.0130.03516.13
5.5.290.0040.02616.20
5.5.280.0030.04917.49
5.5.270.0050.02317.53
5.5.260.0090.03617.65
5.5.250.0110.03017.39
5.5.240.0080.02117.12
5.5.230.0080.00013.94
5.5.220.0060.00613.99
5.5.210.0030.01214.13
5.5.200.0070.00714.12
5.5.190.0040.01113.94
5.5.180.0050.00514.15
5.5.170.0090.00914.22
5.5.160.0030.01013.94
5.5.150.0030.00713.97
5.5.140.0040.01114.02
5.5.130.0030.01213.95
5.5.120.0070.00713.96
5.5.110.0030.01013.85
5.5.100.0040.01114.07
5.5.90.0080.00414.25
5.5.80.0030.00814.22
5.5.70.0060.00614.08
5.5.60.0090.00614.11
5.5.50.0000.01114.20
5.5.40.0070.00714.16
5.5.30.0050.00514.25
5.5.20.0030.00914.23
5.5.10.0100.00013.88
5.5.00.0100.00714.07
5.4.450.0180.03015.20
5.4.440.0530.03215.32
5.4.430.0070.03015.34
5.4.420.0310.03115.12
5.4.410.0500.03214.99
5.4.400.0490.03014.92
5.4.390.0350.02915.05
5.4.380.0570.02514.80
5.4.370.0370.03014.74
5.4.360.0500.03014.77
5.4.350.0550.02914.70
5.4.340.0530.02814.76
5.4.330.0070.00411.04
5.4.320.0060.02611.69
5.4.310.0040.02311.69
5.4.300.0090.02511.84
5.4.290.0040.02311.67
5.4.280.0040.02811.64
5.4.270.0070.02011.63
5.4.260.0060.02911.62
5.4.250.0040.02411.63
5.4.240.0070.01911.72
5.4.230.0060.02111.63
5.4.220.0070.02011.70
5.4.210.0030.02611.64
5.4.200.0050.02211.62
5.4.190.0040.02611.66
5.4.180.0050.02211.71
5.4.170.0060.02211.62
5.4.160.0030.02811.73
5.4.150.0050.02011.63
5.4.140.0060.02311.50
5.4.130.0050.02311.52
5.4.120.0050.02211.48
5.4.110.0080.01911.47
5.4.100.0060.02111.54
5.4.90.0050.02711.46
5.4.80.0080.02411.55
5.4.70.0080.01711.63
5.4.60.0060.02311.56
5.4.50.0040.02311.45
5.4.40.0040.02811.57
5.4.30.0040.02511.52
5.4.20.0070.02611.53
5.4.10.0060.02511.42
5.4.00.0030.02211.34
5.3.290.0080.04512.88
5.3.280.0070.04712.81
5.3.270.0070.03812.83
5.3.260.0050.03912.81
5.3.250.0070.04112.81
5.3.240.0080.03712.81
5.3.230.0050.04512.80
5.3.220.0040.03812.77
5.3.210.0070.04912.77
5.3.200.0060.03912.77
5.3.190.0050.04112.78
5.3.180.0100.03612.77
5.3.170.0080.03512.77
5.3.160.0060.03712.77
5.3.150.0070.04012.77
5.3.140.0070.04012.77
5.3.130.0080.04412.76
5.3.120.0070.03812.76
5.3.110.0070.03912.75
5.3.100.0090.04412.25
5.3.90.0070.04012.23
5.3.80.0090.03712.23
5.3.70.0070.03612.22
5.3.60.0070.03912.21
5.3.50.0080.03712.16
5.3.40.0060.04312.16
5.3.30.0060.03412.13
5.3.20.0050.04111.89
5.3.10.0090.03911.86
5.3.00.0080.03911.85
5.2.170.0070.0389.36
5.2.160.0050.0289.35
5.2.150.0050.0299.36
5.2.140.0060.0389.35
5.2.130.0050.0329.31
5.2.120.0100.0309.31
5.2.110.0050.0329.31
5.2.100.0030.0309.30
5.2.90.0030.0309.31
5.2.80.0050.0299.30
5.2.70.0050.0309.30
5.2.60.0020.0339.26
5.2.50.0060.0289.23
5.2.40.0050.0289.20
5.2.30.0050.0359.18
5.2.20.0050.0299.20
5.2.10.0040.0299.11
5.2.00.0050.0288.97
5.1.60.0050.0248.26
5.1.50.0050.0308.26
5.1.40.0030.0258.23
5.1.30.0020.0288.59
5.1.20.0040.0268.60
5.1.10.0040.0258.34
5.1.00.0100.0308.34
5.0.50.0050.0186.80
5.0.40.0030.0266.67
5.0.30.0030.0316.48
5.0.20.0050.0266.45
5.0.10.0030.0216.43
5.0.00.0060.0316.43
4.4.90.0020.0164.77
4.4.80.0030.0224.75
4.4.70.0050.0134.75
4.4.60.0030.0194.76
4.4.50.0030.0174.77
4.4.40.0050.0234.71
4.4.30.0020.0164.76
4.4.20.0030.0154.85
4.4.10.0030.0154.85
4.4.00.0020.0254.76
4.3.110.0020.0164.67
4.3.100.0030.0144.66
4.3.90.0020.0154.63
4.3.80.0010.0264.58
4.3.70.0020.0154.63
4.3.60.0040.0174.63
4.3.50.0050.0134.63
4.3.40.0030.0244.54
4.3.30.0020.0183.31
4.3.20.0030.0193.29
4.3.10.0030.0183.23
4.3.00.0000.0276.72

preferences:
44.22 ms | 401 KiB | 5 Q