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 Acter</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 ); echo $movies->movie[0]->plot; ?>

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.0070.01019.09
8.3.30.0150.00018.94
8.3.20.0030.00518.99
8.3.10.0030.00520.78
8.3.00.0030.00919.51
8.2.170.0140.00322.96
8.2.160.0000.01421.29
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00820.08
8.2.110.0090.00020.55
8.2.100.0040.00818.16
8.2.90.0000.00919.63
8.2.80.0040.00419.51
8.2.70.0030.00617.88
8.2.60.0080.00018.18
8.2.50.0090.00018.07
8.2.40.0000.00818.59
8.2.30.0000.00718.40
8.2.20.0040.00417.84
8.2.10.0080.00018.03
8.2.00.0060.00317.83
8.1.270.0090.00024.66
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00720.92
8.1.230.0090.00321.06
8.1.220.0100.00017.74
8.1.210.0000.00819.10
8.1.200.0100.00017.35
8.1.190.0040.00417.55
8.1.180.0030.00618.10
8.1.170.0000.00819.06
8.1.160.0040.00418.95
8.1.150.0040.00418.73
8.1.140.0060.00317.58
8.1.130.0040.00417.94
8.1.120.0040.00417.50
8.1.110.0000.00717.61
8.1.100.0040.00417.50
8.1.90.0000.00717.57
8.1.80.0070.00017.63
8.1.70.0000.00717.50
8.1.60.0060.00617.83
8.1.50.0000.00817.67
8.1.40.0080.00017.74
8.1.30.0070.00017.91
8.1.20.0000.00817.75
8.1.10.0070.00017.90
8.1.00.0050.00317.69
8.0.300.0080.00020.23
8.0.290.0060.00317.00
8.0.280.0000.00818.54
8.0.270.0000.00717.45
8.0.260.0030.00317.16
8.0.250.0040.00417.30
8.0.240.0040.00417.16
8.0.230.0000.00817.22
8.0.220.0090.00017.04
8.0.210.0080.00017.16
8.0.200.0000.00617.10
8.0.190.0000.00717.22
8.0.180.0000.00817.13
8.0.170.0050.00317.11
8.0.160.0080.00017.04
8.0.150.0090.00017.13
8.0.140.0070.00316.96
8.0.130.0000.00613.55
8.0.120.0030.00617.02
8.0.110.0040.00417.20
8.0.100.0040.00416.90
8.0.90.0000.00717.03
8.0.80.0070.00717.17
8.0.70.0020.00517.04
8.0.60.0040.00416.98
8.0.50.0040.00417.13
8.0.30.0070.01217.26
8.0.20.0160.00217.18
8.0.10.0040.00417.03
8.0.00.0090.01016.98
7.4.330.0000.00513.13
7.4.320.0030.00316.82
7.4.300.0030.00316.70
7.4.290.0080.00316.68
7.4.280.0060.00316.73
7.4.270.0030.00316.84
7.4.260.0050.00013.43
7.4.250.0040.00416.68
7.4.240.0000.00716.71
7.4.230.0000.00716.92
7.4.220.0130.00916.77
7.4.210.0060.01016.79
7.4.200.0000.00716.70
7.4.190.0050.00216.94
7.4.160.0100.00616.68
7.4.150.0120.00916.70
7.4.140.0140.00616.80
7.4.130.0090.00816.68
7.4.120.0100.00816.85
7.4.110.0120.00616.80
7.4.100.0100.00716.91
7.4.90.0040.01416.59
7.4.80.0030.01316.57
7.4.70.0130.00316.61
7.4.60.0130.00516.66
7.4.50.0000.00816.81
7.4.40.0060.00916.65
7.4.30.0130.00316.70
7.4.10.0090.00615.34
7.4.00.0050.01014.88
7.3.330.0000.00713.20
7.3.320.0050.00013.19
7.3.310.0030.00316.56
7.3.300.0070.00016.47
7.3.290.0110.00316.52
7.3.280.0080.01116.48
7.3.270.0160.00016.51
7.3.260.0060.01116.63
7.3.250.0070.01216.61
7.3.240.0140.00716.57
7.3.230.0030.01416.73
7.3.210.0030.01316.56
7.3.200.0120.00419.39
7.3.190.0140.00416.65
7.3.180.0090.00616.70
7.3.170.0090.00616.79
7.3.160.0090.00616.62
7.3.130.0070.01114.80
7.3.120.0080.00914.80
7.3.110.0040.01415.05
7.3.100.0070.00714.95
7.3.90.0130.00314.82
7.3.80.0030.00614.84
7.3.70.0040.01114.54
7.3.60.0060.00614.74
7.3.50.0060.00814.90
7.3.40.0080.00014.88
7.3.30.0090.00314.86
7.3.20.0070.01016.62
7.3.10.0080.00616.61
7.3.00.0020.00916.61
7.2.330.0060.01116.67
7.2.320.0060.01017.05
7.2.310.0100.01916.90
7.2.300.0100.00716.94
7.2.290.0030.01516.68
7.2.260.0070.01314.95
7.2.250.0030.01615.07
7.2.240.0110.00314.96
7.2.230.0110.00315.03
7.2.220.0040.01114.99
7.2.210.0090.00614.82
7.2.200.0070.00715.05
7.2.190.0030.01015.09
7.2.180.0070.00715.13
7.2.170.0000.01414.97
7.2.160.0030.01015.21
7.2.150.0060.00916.98
7.2.140.0060.00616.85
7.2.130.0090.00716.75
7.2.120.0080.00616.91
7.2.110.0120.00716.71
7.2.100.0060.01216.92
7.2.90.0060.00816.96
7.2.80.0070.01217.06
7.2.70.0070.01316.91
7.2.60.0080.00916.82
7.2.50.0100.00516.77
7.2.40.0090.00316.75
7.2.30.0170.00316.83
7.2.20.0020.01516.84
7.2.10.0050.00816.94
7.2.00.0120.00617.64
7.1.330.0070.00715.60
7.1.320.0100.00315.79
7.1.310.0030.00915.87
7.1.300.0090.00015.80
7.1.290.0100.00015.83
7.1.280.0100.00315.61
7.1.270.0060.00915.73
7.1.260.0030.00715.77
7.1.250.0040.00715.89
7.1.240.0060.00915.79
7.1.230.0030.00915.84
7.1.220.0050.00515.82
7.1.210.0000.00815.72
7.1.200.0120.00015.76
7.1.190.0060.00915.69
7.1.180.0070.00715.79
7.1.170.0110.00315.79
7.1.160.0030.00715.71
7.1.150.0060.00915.70
7.1.140.0110.00015.95
7.1.130.0100.00615.67
7.1.120.0030.01015.70
7.1.110.0090.00915.71
7.1.100.0040.00817.15
7.1.90.0030.01015.90
7.1.80.0030.01016.00
7.1.70.0060.00616.44
7.1.60.0130.00817.52
7.1.50.0030.01216.45
7.1.40.0000.01615.94
7.1.30.0000.01315.54
7.1.20.0060.00615.57
7.1.10.0070.00715.90
7.1.00.0070.04019.23
7.0.330.0040.01115.52
7.0.320.0040.00715.42
7.0.310.0060.00615.52
7.0.300.0100.00315.36
7.0.290.0060.00615.45
7.0.280.0110.00415.56
7.0.270.0100.00615.38
7.0.260.0060.00915.48
7.0.250.0060.00615.41
7.0.240.0030.01015.39
7.0.230.0000.01415.63
7.0.220.0030.00915.38
7.0.210.0060.00615.20
7.0.200.0090.00316.19
7.0.190.0050.00515.48
7.0.180.0060.00315.36
7.0.170.0080.00415.49
7.0.160.0030.01015.54
7.0.150.0100.00315.56
7.0.140.0020.03018.80
7.0.130.0030.00915.41
7.0.120.0030.04018.88
7.0.110.0070.00715.56
7.0.100.0000.01315.66
7.0.90.0050.00515.30
7.0.80.0030.01015.59
7.0.70.0030.00715.47
7.0.60.0030.03817.65
7.0.50.0050.02316.74
7.0.40.0030.02716.78
7.0.30.0370.03216.87
7.0.20.0140.02716.82
7.0.10.0200.04516.86
7.0.00.0030.02816.87
5.6.400.0040.01214.38
5.6.390.0060.01114.60
5.6.380.0060.00614.49
5.6.370.0000.01214.70
5.6.360.0030.00914.59
5.6.350.0140.00314.18
5.6.340.0090.00914.50
5.6.330.0060.00314.67
5.6.320.0030.01214.37
5.6.310.0000.01014.41
5.6.300.0060.00914.59
5.6.290.0060.00314.60
5.6.280.0070.04017.60
5.6.270.0070.01014.20
5.6.260.0040.01114.43
5.6.250.0100.00014.45
5.6.240.0050.00314.45
5.6.230.0120.00314.33
5.6.220.0050.00314.51
5.6.210.0050.04717.68
5.6.200.0070.04316.30
5.6.190.0080.02317.57
5.6.180.0100.03817.69
5.6.170.0190.01717.40
5.6.160.0050.02517.73
5.6.150.0070.02016.35
5.6.140.0070.03216.39
5.6.130.0070.04416.35
5.6.120.0030.03217.67
5.6.110.0110.04117.75
5.6.100.0100.04417.69
5.6.90.0030.05117.69
5.6.80.0030.02517.33
5.6.70.0130.04017.50
5.6.60.0110.00314.22
5.6.50.0000.01114.42
5.6.40.0030.01014.11
5.6.30.0030.01014.37
5.6.20.0030.01014.47
5.6.10.0080.00314.29
5.6.00.0040.01114.26
5.5.380.0030.01414.63
5.5.370.0040.01114.17
5.5.360.0080.00513.76
5.5.350.0200.04017.37
5.5.340.0070.03816.04
5.5.330.0050.03317.37
5.5.320.0070.04217.24
5.5.310.0200.04017.24
5.5.300.0100.03316.22
5.5.290.0110.03716.21
5.5.280.0110.04217.77
5.5.270.0080.04217.67
5.5.260.0070.02317.75
5.5.250.0090.03717.53
5.5.240.0020.02717.29
5.5.230.0040.01113.88
5.5.220.0030.01014.06
5.5.210.0150.00014.18
5.5.200.0000.01414.32
5.5.190.0070.01014.42
5.5.180.0070.00714.05
5.5.170.0070.00314.05
5.5.160.0100.00713.74
5.5.150.0070.00313.96
5.5.140.0090.00313.96
5.5.130.0040.01113.96
5.5.120.0070.00713.99
5.5.110.0120.00314.04
5.5.100.0070.00314.11
5.5.90.0070.00314.14
5.5.80.0000.01513.90
5.5.70.0090.00614.10
5.5.60.0060.00614.21
5.5.50.0060.00614.41
5.5.40.0030.01114.30
5.5.30.0070.00413.82
5.5.20.0000.01714.35
5.5.10.0060.00613.97
5.5.00.0150.00014.16
5.4.450.0100.02815.27
5.4.440.0070.04215.28
5.4.430.0070.04215.29
5.4.420.0050.03315.33
5.4.410.0080.04015.24
5.4.400.0070.02415.18
5.4.390.0060.04015.16
5.4.380.0100.03514.96
5.4.370.0070.04214.91
5.4.360.0060.02115.13
5.4.350.0080.04214.97
5.4.340.0070.02515.02
5.4.330.0030.00710.97
5.4.320.0000.02814.96
5.4.310.0060.03614.91
5.4.300.0080.02715.01
5.4.290.0090.02715.00
5.4.280.0060.03515.17
5.4.270.0000.03314.74
5.4.260.0060.03814.93
5.4.250.0100.02815.01
5.4.240.0050.04315.02
5.4.230.0050.03815.00
5.4.220.0070.02715.12
5.4.210.0030.02514.96
5.4.200.0100.03815.01
5.4.190.0170.02514.97
5.4.180.0020.02914.88
5.4.170.0040.04214.97
5.4.160.0070.04015.14
5.4.150.0030.03715.03
5.4.140.0050.03613.69
5.4.130.0080.02813.70
5.4.120.0040.03913.76
5.4.110.0050.04113.81
5.4.100.0050.03613.80
5.4.90.0080.03013.85
5.4.80.0100.02713.68
5.4.70.0110.02913.62
5.4.60.0060.03313.54
5.4.50.0070.02413.61
5.4.40.0050.04013.71
5.4.30.0070.03813.59
5.4.20.0050.04313.47
5.4.10.0030.03713.72
5.4.00.0080.01613.60
5.3.290.0060.03812.64
5.3.280.0030.03612.44
5.3.270.0050.02612.58
5.3.260.0040.02812.64
5.3.250.0010.02512.64
5.3.240.0100.03312.60
5.3.230.0040.04412.64
5.3.220.0050.03612.49
5.3.210.0010.03112.51
5.3.200.0110.02812.54
5.3.190.0150.03512.46
5.3.180.0040.03912.54
5.3.170.0070.03712.60
5.3.160.0060.02912.69
5.3.150.0030.04012.53
5.3.140.0060.03712.46
5.3.130.0040.04512.60
5.3.120.0070.02512.53
5.3.110.0050.02512.57
5.3.100.0040.02712.16
5.3.90.0070.02712.33
5.3.80.0050.03312.26
5.3.70.0120.03212.15
5.3.60.0070.04312.34
5.3.50.0070.03812.29
5.3.40.0050.03612.10
5.3.30.0050.02312.30
5.3.20.0120.02811.98
5.3.10.0050.03411.99
5.3.00.0030.03411.85
5.2.170.0070.06011.21
5.2.160.0030.06711.10
5.2.150.0100.05311.21
5.2.140.0070.05711.10
5.2.130.0070.05711.20
5.2.120.0070.06011.13
5.2.110.0000.06311.21
5.2.100.0100.06011.05
5.2.90.0130.05711.23
5.2.80.0030.05311.13
5.2.70.0030.03311.25
5.2.60.0000.03311.12
5.2.50.0070.06011.00
5.2.40.0030.04311.08
5.2.30.0000.07011.05
5.2.20.0000.05311.21
5.2.10.0030.06011.08
5.2.00.0070.05310.82
5.1.60.0030.04010.10
5.1.50.0030.04310.24
5.1.40.0130.04010.04
5.1.30.0000.03710.44
5.1.20.0130.05010.30
5.1.10.0030.05710.18
5.1.00.0030.03710.13
5.0.50.0000.0278.49
5.0.40.0000.0508.59
5.0.30.0030.0378.44
5.0.20.0030.0208.44
5.0.10.0000.0338.44
5.0.00.0000.0478.44
4.4.90.0000.0178.44
4.4.80.0000.0178.44
4.4.70.0000.0278.44
4.4.60.0030.0378.44
4.4.50.0070.0308.44
4.4.40.0030.0538.44
4.4.30.0100.0238.44
4.4.20.0070.0338.44
4.4.10.0000.0308.44
4.4.00.0030.0478.44
4.3.110.0000.0238.44
4.3.100.0000.0408.44
4.3.90.0000.0308.44
4.3.80.0000.0338.44
4.3.70.0030.0278.44
4.3.60.0030.0238.44
4.3.50.0030.0378.44
4.3.40.0070.0478.44
4.3.30.0030.0208.44
4.3.20.0000.0278.44
4.3.10.0030.0338.44
4.3.00.0000.0338.44

preferences:
45.63 ms | 400 KiB | 5 Q