3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '$this->data[0],$this->data[1],$this->data[2]<br><br>$graph->addData($this->data[0],$this->data[1],$this->data[2]);<br><?xml version="1.0"?> <phpgrahphlib> <imageName>230_0046831d980a56de52331b09b7eb7efc.png</imageName> <imageLocation>http://www.ebrueggeman.com/sites/www.ebrueggeman.com/files/phpgraphlib_api/230_0046831d980a56de52331b09b7eb7efc.png</imageLocation> <imageTag><![CDATA[<img width="500" height="350" src="http://www.ebrueggeman.com/sites/www.ebrueggeman.com/files/phpgraphlib_api/230_0046831d980a56de52331b09b7eb7efc.png" />]]></imageTag> <error></error> <version>2.30</version> </phpgrahphlib>'; $target = strstr($html, '<?'); $xml_object = simplexml_load_string($target); echo 'Image Tag: '. $xml_object->imageTag.PHP_EOL; echo 'Errors: '. $xml_object->error.PHP_EOL;

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.4.120.0120.00820.84
8.4.110.0040.00518.99
8.4.100.0060.00318.09
8.4.90.0060.00319.02
8.4.80.0080.00518.84
8.4.70.0130.00718.16
8.4.60.0110.01018.96
8.4.50.0130.00418.61
8.4.40.0160.00317.79
8.4.30.0100.01019.36
8.4.20.0070.01319.54
8.4.10.0200.00017.57
8.3.250.0090.00919.13
8.3.240.0090.00916.89
8.3.230.0080.00416.78
8.3.220.0080.01019.06
8.3.210.0040.00316.68
8.3.200.0030.00616.68
8.3.190.0080.00917.21
8.3.180.0100.00917.39
8.3.170.0060.01220.95
8.3.160.0120.00617.39
8.3.150.0090.01217.45
8.3.140.0120.00319.31
8.3.130.0030.00616.84
8.3.120.0000.00819.02
8.3.110.0100.01016.75
8.3.100.0140.00418.43
8.3.90.0050.00326.77
8.3.80.0120.00017.97
8.3.70.0090.00616.75
8.3.60.0040.01118.43
8.3.50.0120.00318.35
8.3.40.0150.00018.93
8.3.30.0040.01118.78
8.3.20.0080.00019.11
8.3.10.0050.00319.46
8.3.00.0040.00423.85
8.2.290.0100.00919.00
8.2.280.0060.00418.79
8.2.270.0120.00617.53
8.2.260.0060.00616.54
8.2.250.0070.00718.59
8.2.240.0060.00319.28
8.2.230.0050.00320.94
8.2.220.0080.00024.06
8.2.210.0090.00026.77
8.2.200.0030.00518.54
8.2.190.0070.01016.63
8.2.180.0150.00418.41
8.2.170.0040.01122.96
8.2.160.0030.01022.38
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0080.00020.01
8.2.120.0070.00026.35
8.2.110.0070.00421.00
8.2.100.0030.00918.02
8.2.90.0000.00817.97
8.2.80.0040.00418.18
8.2.70.0060.00318.16
8.2.60.0080.00018.03
8.2.50.0030.00618.10
8.2.40.0040.00419.55
8.2.30.0000.00819.59
8.2.20.0050.00318.10
8.2.10.0000.00718.22
8.2.00.0040.00419.69
8.1.330.0100.00916.40
8.1.320.0070.01216.32
8.1.310.0080.00016.64
8.1.300.0060.01018.84
8.1.290.0000.00930.84
8.1.280.0100.00625.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00022.13
8.1.230.0000.01121.05
8.1.220.0040.00418.01
8.1.210.0040.00419.34
8.1.200.0100.00017.60
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0050.00318.76
8.1.160.0030.00519.00
8.1.150.0040.00419.17
8.1.140.0040.00417.91
8.1.130.0040.00419.10
8.1.120.0070.00017.57
8.1.110.0040.00417.62
8.1.100.0040.00417.67
8.1.90.0050.00317.72
8.1.80.0100.00017.57
8.1.70.0040.00417.70
8.1.60.0060.00317.88
8.1.50.0040.00417.70
8.1.40.0040.00717.61
8.1.30.0100.00017.78
8.1.20.0040.00417.84
8.1.10.0000.00717.77
8.1.00.0040.00417.74
8.0.300.0020.00519.91
8.0.290.0000.00817.00
8.0.280.0070.00018.54
8.0.270.0070.00017.52
8.0.260.0040.00419.29
8.0.250.0030.00317.17
8.0.240.0040.00417.13
8.0.230.0000.00817.16
8.0.220.0090.00017.14
8.0.210.0000.00717.04
8.0.200.0030.00617.12
8.0.190.0030.00717.21
8.0.180.0000.00817.09
8.0.170.0090.00017.02
8.0.160.0050.00217.10
8.0.150.0070.00017.11
8.0.140.0000.00817.02
8.0.130.0050.00013.50
8.0.120.0050.00317.00
8.0.110.0040.00417.04
8.0.100.0040.00417.15
8.0.90.0000.00717.12
8.0.80.0050.01317.07
8.0.70.0050.00217.11
8.0.60.0080.00017.04
8.0.50.0040.00417.04
8.0.30.0110.00917.33
8.0.20.0090.00917.40
8.0.10.0080.00017.04
8.0.00.0150.00816.94
7.4.330.0050.00015.55
7.4.320.0000.00616.53
7.4.300.0000.00616.66
7.4.290.0030.00316.71
7.4.280.0030.00516.71
7.4.270.0040.00416.76
7.4.260.0070.00016.66
7.4.250.0030.00416.67
7.4.240.0030.00316.70
7.4.230.0030.00316.75
7.4.220.0070.00016.77
7.4.210.0040.01016.66
7.4.200.0000.00716.76
7.4.160.0100.00816.68
7.4.140.0100.01017.86
7.4.130.0090.00916.78
7.4.120.0110.00916.65
7.4.110.0030.01416.66
7.4.100.0220.00016.48
7.4.90.0060.00916.84
7.4.80.0090.00919.39
7.4.70.0130.00316.69
7.4.60.0090.00616.59
7.4.50.0070.01016.32
7.4.40.0030.01316.74
7.4.00.0060.01014.95
7.3.330.0060.00013.32
7.3.320.0060.00013.32
7.3.310.0000.00716.35
7.3.300.0000.00716.41
7.3.290.0030.00316.39
7.3.280.0100.00816.36
7.3.260.0110.01316.65
7.3.240.0140.00716.57
7.3.230.0070.01016.33
7.3.210.0060.01316.47
7.3.200.0060.01116.73
7.3.190.0090.00616.43
7.3.180.0040.01416.54
7.3.170.0070.01016.42
7.3.160.0100.01016.40
7.2.330.0130.01016.60
7.2.320.0120.00616.56
7.2.310.0090.01316.81
7.2.300.0110.01116.82
7.2.290.0170.00316.97
7.2.60.3190.01115.10
7.2.50.3260.01215.17
7.2.40.2710.00915.53
7.2.30.3600.00915.52
7.2.20.3180.01315.34
7.2.10.3640.01415.78
7.2.00.3120.01015.27
7.1.200.0070.00715.89
7.1.170.2810.00513.86
7.1.160.2280.01016.67
7.1.150.3070.01216.54
7.1.140.3370.00916.59
7.1.130.3090.01217.00
7.1.120.3160.01116.55
7.1.110.1560.00816.36
7.1.100.0570.01216.30
7.1.90.0180.00816.27
7.1.80.0370.01416.31
7.1.70.0170.01015.36
7.1.60.0430.01433.32
7.1.50.0700.01132.79
7.1.40.2320.01132.57
7.1.30.0640.01432.76
7.1.20.0590.01732.83
7.1.10.0410.01115.07
7.1.00.0150.00714.96

preferences:
29.25 ms | 403 KiB | 5 Q