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->movies->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.0040.01118.55
8.3.50.0130.00522.16
8.3.40.0110.00718.88
8.3.30.0100.00319.20
8.3.20.0050.00320.59
8.3.10.0060.00320.78
8.3.00.0000.00819.79
8.2.180.0040.01116.88
8.2.170.0100.01022.96
8.2.160.0140.00019.42
8.2.150.0030.00524.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0040.00422.49
8.2.110.0050.00522.50
8.2.100.0090.00319.51
8.2.90.0060.00319.27
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0040.00418.05
8.2.50.0030.00618.07
8.2.40.0030.00518.28
8.2.30.0000.00819.35
8.2.20.0030.00617.79
8.2.10.0050.00318.17
8.2.00.0020.00517.91
8.1.280.0090.00625.92
8.1.270.0040.00422.31
8.1.260.0050.00326.35
8.1.250.0100.00728.09
8.1.240.0030.00624.09
8.1.230.0050.00519.27
8.1.220.0000.00817.89
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0000.00817.47
8.1.180.0050.00318.10
8.1.170.0050.00318.76
8.1.160.0000.00822.20
8.1.150.0040.00418.95
8.1.140.0040.00417.61
8.1.130.0000.00718.06
8.1.120.0050.00217.70
8.1.110.0000.00717.58
8.1.100.0040.00417.48
8.1.90.0000.00717.57
8.1.80.0040.00417.69
8.1.70.0040.00417.51
8.1.60.0040.00417.67
8.1.50.0040.00417.55
8.1.40.0050.00517.68
8.1.30.0000.00817.73
8.1.20.0000.00817.68
8.1.10.0070.00017.77
8.1.00.0050.00617.59
8.0.300.0040.00418.77
8.0.290.0040.00417.00
8.0.280.0080.00018.61
8.0.270.0030.00317.35
8.0.260.0070.00017.30
8.0.250.0000.00817.20
8.0.240.0040.00417.10
8.0.230.0030.00317.18
8.0.220.0070.00017.09
8.0.210.0040.00417.03
8.0.200.0000.00717.21
8.0.190.0000.00717.21
8.0.180.0000.00817.05
8.0.170.0040.00417.07
8.0.160.0040.00416.97
8.0.150.0000.00717.10
8.0.140.0030.00317.13
8.0.130.0050.00013.59
8.0.120.0000.00817.15
8.0.110.0040.00417.02
8.0.100.0040.00417.04
8.0.90.0000.00717.14
8.0.80.0120.00917.04
8.0.70.0000.00817.01
8.0.60.0040.00417.11
8.0.50.0040.00417.13
8.0.30.0170.00617.28
8.0.20.0170.00317.40
8.0.10.0040.00417.30
8.0.00.0090.00917.07
7.4.330.0030.00315.18
7.4.320.0030.00316.85
7.4.300.0000.00616.89
7.4.290.0030.00616.70
7.4.280.0060.00316.68
7.4.270.0070.00016.64
7.4.260.0040.00416.79
7.4.250.0040.00416.60
7.4.240.0030.00316.76
7.4.230.0030.00316.81
7.4.220.0200.00616.85
7.4.210.0130.00716.88
7.4.200.0000.00716.90
7.4.160.0190.00316.86
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0090.00916.63
7.4.120.0060.01116.71
7.4.110.0070.01016.62
7.4.100.0100.00616.64
7.4.90.0040.01316.78
7.4.80.0040.01916.81
7.4.70.0030.01316.71
7.4.60.0070.01116.75
7.4.50.0040.00416.48
7.4.40.0100.00716.59
7.4.30.0090.00616.73
7.4.00.0090.00814.97
7.3.330.0060.00013.24
7.3.320.0080.00013.32
7.3.310.0070.00016.49
7.3.300.0030.00316.31
7.3.290.0060.01316.39
7.3.280.0070.00716.41
7.3.270.0100.00917.40
7.3.260.0090.00916.64
7.3.250.0130.00616.73
7.3.240.0160.00316.54
7.3.230.0090.01116.58
7.3.210.0080.01416.50
7.3.200.0140.00319.39
7.3.190.0090.00916.72
7.3.180.0100.00716.30
7.3.170.0100.00916.49
7.3.160.0130.00316.54
7.3.120.0100.01014.93
7.3.110.0080.00814.84
7.3.100.0040.01414.80
7.3.90.0090.00914.65
7.3.80.0060.01215.00
7.3.70.0040.00814.85
7.3.60.0100.00614.79
7.3.50.0000.01414.70
7.3.40.0080.00814.86
7.3.30.0040.01514.78
7.3.20.0040.01216.49
7.3.10.0070.00816.42
7.3.00.0090.00516.56
7.2.330.0120.00616.75
7.2.320.0090.01416.84
7.2.310.0100.00716.67
7.2.300.0090.01516.70
7.2.290.0070.01516.75
7.2.250.0030.01915.07
7.2.240.0100.01014.90
7.2.230.0120.00615.18
7.2.220.0060.00915.02
7.2.210.0000.01815.06
7.2.200.0120.00614.75
7.2.190.0030.01314.91
7.2.180.0050.00815.01
7.2.170.0090.00015.19
7.2.130.0090.00316.64
7.2.120.0030.00716.55
7.2.110.0060.00316.43
7.2.100.0180.00016.93
7.2.90.0070.00316.87
7.2.80.0080.00416.83
7.2.70.0030.01017.05
7.2.60.0030.00716.72
7.2.50.0120.00316.68
7.2.40.0030.00916.82
7.2.30.0100.01016.91
7.2.20.0030.01016.64
7.2.10.0040.01116.66
7.2.00.0000.01116.81
7.1.330.0070.00715.89
7.1.320.0070.01015.77
7.1.310.0110.00415.86
7.1.300.0090.00615.76
7.1.290.0070.00715.82
7.1.280.0070.00415.69
7.1.270.0070.00715.90
7.1.260.0060.01315.82
7.1.250.0040.00415.68
7.1.100.0040.00417.99
7.1.70.0040.00416.91
7.1.60.0070.01719.32
7.1.50.0060.01616.78
7.1.00.0030.07322.57
7.0.200.0000.00716.48
7.0.140.0030.07322.26
7.0.60.0070.08719.99
7.0.50.0170.07718.00
7.0.40.0130.05720.45
7.0.30.0300.06720.32
7.0.20.0200.08320.28
7.0.10.0100.05720.23
7.0.00.0100.08020.38
5.6.280.0130.06321.08
5.6.210.0100.04320.50
5.6.200.0070.08718.32
5.6.190.0070.08720.87
5.6.180.0500.06720.51
5.6.170.0230.07020.56
5.6.160.0070.09020.48
5.6.150.0030.04318.22
5.6.140.0070.04718.29
5.6.130.0130.06318.30
5.6.120.0100.07021.06
5.6.110.0070.08721.16
5.6.100.0200.08321.19
5.6.90.0130.08021.00
5.6.80.0070.07020.44
5.5.350.0200.07320.44
5.5.340.0000.04718.06
5.5.330.0100.08020.44
5.5.320.0370.04720.50
5.5.310.0230.04320.31
5.5.300.0030.06317.99
5.5.290.0130.04317.99
5.5.280.0100.06321.09
5.5.270.0070.08320.95
5.5.260.0070.06320.84
5.5.250.0100.08020.80
5.5.240.0170.02720.24
5.4.450.0500.05019.50
5.4.440.0870.06019.66
5.4.430.0930.06019.30
5.4.420.0730.05019.45
5.4.410.0700.05019.53
5.4.400.0870.06719.03
5.4.390.0830.05719.37
5.4.380.0330.04718.60
5.4.370.0170.06318.78
5.4.360.0530.07018.77
5.4.350.0370.05718.75
5.4.340.0430.05718.78
5.4.320.0060.03712.61
5.4.310.0080.03812.61
5.4.300.0050.03712.62
5.4.290.0040.03912.61
5.4.280.0040.04212.51
5.4.270.0070.05112.51
5.4.260.0060.04512.51
5.4.250.0080.04512.51
5.4.240.0090.03312.51
5.4.230.0080.03712.50
5.4.220.0060.03512.50
5.4.210.0050.04512.50
5.4.200.0110.03912.50
5.4.190.0050.04812.50
5.4.180.0060.04512.50
5.4.170.0080.03912.51
5.4.160.0060.03612.50
5.4.150.0090.03612.50
5.4.140.0080.04412.18
5.4.130.0060.04212.17
5.4.120.0060.03712.13
5.4.110.0090.04512.13
5.4.100.0080.05512.13
5.4.90.0090.03612.12
5.4.80.0060.05612.13
5.4.70.0070.03812.12
5.4.60.0040.03612.12
5.4.50.0050.04812.12
5.4.40.0040.03912.11
5.4.30.0090.03912.11
5.4.20.0110.03712.11
5.4.10.0060.05012.11
5.4.00.0030.04811.60
5.3.290.0110.04112.89
5.3.280.0090.04512.81
5.3.270.0060.04212.83
5.3.260.0090.05112.82
5.3.250.0110.04712.82
5.3.240.0020.04112.82
5.3.230.0080.04712.82
5.3.220.0060.03812.79
5.3.210.0060.04812.79
5.3.200.0120.04112.78
5.3.190.0080.03512.78
5.3.180.0110.03912.78
5.3.170.0050.04612.78
5.3.160.0090.04212.78
5.3.150.0090.04712.78
5.3.140.0050.04012.77
5.3.130.0070.04812.76
5.3.120.0050.05112.77
5.3.110.0090.05212.77
5.3.100.0060.04312.25
5.3.90.0040.03712.23
5.3.80.0110.03612.23
5.3.70.0070.05312.23
5.3.60.0040.04712.21
5.3.50.0070.04012.16
5.3.40.0060.04012.16
5.3.30.0040.04012.13
5.3.20.0080.03611.90
5.3.10.0090.03811.86
5.3.00.0060.04011.86
5.2.170.0030.0429.36
5.2.160.0070.0429.36
5.2.150.0040.0319.36
5.2.140.0060.0309.35
5.2.130.0030.0309.32
5.2.120.0040.0299.32
5.2.110.0060.0279.31
5.2.100.0060.0309.31
5.2.90.0040.0309.31
5.2.80.0040.0329.30
5.2.70.0080.0479.30
5.2.60.0040.0419.26
5.2.50.0060.0289.23
5.2.40.0080.0269.21
5.2.30.0060.0309.18
5.2.20.0050.0289.19
5.2.10.0070.0269.12
5.2.00.0070.0378.97
5.1.60.0050.0318.26
5.1.50.0070.0258.26
5.1.40.0040.0338.24
5.1.30.0080.0298.59
5.1.20.0050.0268.61
5.1.10.0050.0378.33
5.1.00.0060.0308.34
5.0.50.0050.0296.80
5.0.40.0080.0306.66
5.0.30.0030.0376.48
5.0.20.0060.0256.45
5.0.10.0030.0206.43
5.0.00.0030.0316.43
4.4.90.0030.0214.78
4.4.80.0050.0134.75
4.4.70.0040.0154.75
4.4.60.0030.0174.75
4.4.50.0020.0204.77
4.4.40.0050.0334.71
4.4.30.0040.0274.75
4.4.20.0040.0214.84
4.4.10.0030.0204.85
4.4.00.0020.0264.76
4.3.110.0010.0204.67
4.3.100.0020.0174.67
4.3.90.0030.0224.63
4.3.80.0060.0334.58
4.3.70.0040.0224.63
4.3.60.0010.0274.63
4.3.50.0050.0214.63
4.3.40.0040.0334.54
4.3.30.0020.0203.32
4.3.20.0020.0223.29
4.3.10.0010.0283.23
4.3.00.0030.0276.72

preferences:
46.49 ms | 401 KiB | 5 Q