3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlresponse = '<?xml version="1.0" encoding="utf-8"?> <string xmlns="http://www.cebroker.com/CEBrokerWebService/">&lt;licensees&gt;&lt;licensee valid="true" State="FL" licensee_profession="RN" licensee_number="2676612" state_license_format="" first_name="HENRY" last_name="GEITER" ErrorCode="" Message="" TimeStamp="2/19/2022 4:53:35 AM" /&gt;&lt;/licensees&gt;</string>'; $xml_string = simplexml_load_string($xmlresponse); echo 'First time, we only get it as a string, not as XML' . PHP_EOL; echo '------------------------------------------'. PHP_EOL; var_dump($xml_string); // We can see that it's just a stirng, not XML echo PHP_EOL . PHP_EOL; $licensees = simplexml_load_string($xml_string); echo 'The second time, we do get it as XML' . PHP_EOL; echo '------------------------------------------'. PHP_EOL; var_dump($licensees); // Not it's actually read as XML

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.130.0120.00917.71
8.4.120.0060.00221.09
8.4.110.0090.01319.00
8.4.100.0090.01217.91
8.4.90.0100.01120.41
8.4.80.0040.00519.28
8.4.70.0080.00720.81
8.4.60.0110.01020.09
8.4.50.0240.01218.75
8.4.40.0160.00417.84
8.4.30.0160.00319.27
8.4.20.0120.00918.75
8.4.10.0150.00417.59
8.3.260.0080.01116.68
8.3.250.0140.00519.05
8.3.240.0060.00316.74
8.3.230.0030.00616.97
8.3.220.0140.00518.95
8.3.210.0130.00616.86
8.3.200.0180.00216.36
8.3.190.0140.00616.76
8.3.180.0150.00417.55
8.3.170.0150.00416.64
8.3.160.0130.00216.59
8.3.150.0090.01116.98
8.3.140.0170.00417.04
8.3.130.0110.00217.44
8.3.120.0130.00117.73
8.3.110.0100.00416.70
8.3.100.0090.00616.55
8.3.90.0110.00321.46
8.3.80.0120.00316.63
8.3.70.0110.00716.50
8.3.60.0140.00716.67
8.3.50.0120.00918.51
8.3.40.0150.00318.33
8.3.30.0110.00618.33
8.3.20.0090.00420.83
8.3.10.0080.00421.12
8.3.00.0120.00424.03
8.2.290.0140.00516.99
8.2.280.0130.00518.42
8.2.270.0140.00816.71
8.2.260.0100.00417.65
8.2.250.0060.00617.01
8.2.240.0120.00517.41
8.2.230.0100.00318.73
8.2.220.0100.00320.37
8.2.210.0080.00521.78
8.2.200.0090.00416.55
8.2.190.0110.00916.65
8.2.180.0110.00521.19
8.2.170.0120.00920.28
8.2.160.0160.00520.21
8.2.150.0120.00121.64
8.2.140.0080.00621.03
8.2.130.0110.00623.96
8.2.120.0150.00523.92
8.2.110.0120.00522.28
8.2.100.0120.00921.22
8.2.90.0080.00622.25
8.2.80.0090.00321.66
8.2.70.0070.00521.41
8.2.60.0070.00621.26
8.2.50.0110.00220.82
8.2.40.0100.00320.90
8.2.30.0100.00320.87
8.2.20.0100.00521.40
8.2.10.0070.00720.71
8.2.00.0110.00521.17
8.1.330.0150.00422.09
8.1.320.0100.00816.13
8.1.310.0080.00516.46
8.1.300.0160.00918.13
8.1.290.0100.00424.41
8.1.280.0130.00421.05
8.1.270.0100.00320.64
8.1.260.0090.00223.98
8.1.250.0090.00324.59
8.1.240.0080.00421.74
8.1.230.0080.00422.26
8.1.220.0060.00521.09
8.1.210.0090.00321.42
8.1.200.0060.00620.88
8.1.190.0100.00321.00
8.1.180.0090.00420.70
8.1.170.0090.00420.94
8.1.160.0180.00519.78
8.1.150.0090.00420.99
8.1.140.0070.00520.62
8.1.130.0090.00420.69
8.1.120.0060.00620.71
8.1.110.0080.00420.57
8.1.100.0080.00420.60
8.1.90.0090.00320.63
8.1.80.0100.00320.63
8.1.70.0060.00720.61
8.1.60.0090.00420.66
8.1.50.0090.00420.67
8.1.40.0090.00420.66
8.1.30.0110.00620.68
8.1.20.0120.00520.71
8.1.10.0130.00420.66
8.1.00.0110.00620.68
8.0.300.0070.00521.63
8.0.290.0110.00320.50
8.0.280.0110.00420.74
8.0.270.0060.00720.32
8.0.260.0080.00620.36
8.0.250.0090.00320.40
8.0.240.0090.00420.30
8.0.230.0070.00620.32
8.0.220.0090.00620.33
8.0.210.0080.00620.32
8.0.200.0090.00520.39
8.0.190.0110.00420.32
8.0.180.0090.00420.35
8.0.170.0100.00420.35
8.0.160.0140.00220.37
8.0.150.0140.00220.31
8.0.140.0100.00720.30
8.0.130.0130.00220.25
8.0.120.0110.00520.27
8.0.110.0100.00520.22
8.0.100.0130.00320.29
8.0.90.0120.00520.30
8.0.80.0120.00520.31
8.0.70.0120.00520.29
8.0.60.0110.00620.24
8.0.50.0110.00620.25
8.0.30.0100.00520.24
8.0.20.0130.00420.31
8.0.10.0100.00520.33
7.4.330.0070.00418.70
7.4.320.0120.00320.13
7.4.300.0070.00720.10
7.4.290.0110.00320.13
7.4.280.0120.00620.22
7.4.270.0140.00320.18
7.4.260.0120.00420.09
7.4.250.0140.00220.08
7.4.240.0170.00320.13
7.4.230.0160.00520.17
7.4.220.0140.00220.11
7.4.210.0160.00420.21
7.4.200.0120.00620.15
7.4.190.0100.00520.16
7.4.180.0120.00420.13
7.4.160.0100.00520.16
7.4.150.0120.00220.22
7.4.140.0140.00320.08
7.4.130.0120.00620.12
7.4.120.0130.00420.07
7.4.110.0120.00320.03
7.4.100.0150.00320.15
7.4.90.0130.00520.16
7.4.80.0110.00520.07
7.4.70.0150.00420.15
7.4.60.0160.00220.08
7.4.50.0130.00620.08
7.4.40.0150.00620.00
7.4.30.0160.00220.14
7.4.20.0120.00920.21
7.4.10.0130.00620.18
7.4.00.0140.00420.08

preferences:
25.51 ms | 403 KiB | 5 Q