3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = "0;78d13qqoglyszmorspfwfdmwffgnubgr;\u003c?dpf sent len=\"1\"?\u003e\u003c?dpf orth code=\"unknown\" prop=\"Lesen;Lehnen;Lehren;Leasen;Leisen\" ?\u003elehsen\u003c?dpf /orth ?\u003e\u003c?dpf /sent ?\u003e"; $response = preg_replace("/\\\\u([0-9a-f]{3,4})/i", "&#x\\1;", $response); $response = html_entity_decode($response , null, 'UTF-8'); $response = str_replace([ '<?dpf ', ' ?>', '?>' ], [ '<', '>', '>' ], $response); $response = substr($response, 36-1); echo $response; echo "\n"; $xml = simplexml_load_string($response ); $xml = toArray($xml); print_r($xml); function toArray($xml) { $array = json_decode(json_encode($xml), true); foreach ( array_slice($array, 0) as $key => $value ) { if ( empty($value) ) $array[$key] = NULL; elseif ( is_array($value) ) $array[$key] = toArray($value); } return $array; }

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.0110.01117.25
8.3.50.0130.00523.06
8.3.40.0150.00019.39
8.3.30.0110.00419.43
8.3.20.0000.00820.38
8.3.10.0050.00323.82
8.3.00.0060.00319.88
8.2.180.0080.01118.88
8.2.170.0100.01022.96
8.2.160.0100.00320.70
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00926.16
8.2.120.0050.00321.31
8.2.110.0050.00520.64
8.2.100.0080.00418.34
8.2.90.0000.00819.46
8.2.80.0080.00018.00
8.2.70.0030.00618.13
8.2.60.0040.00418.28
8.2.50.0030.00618.07
8.2.40.0030.00518.46
8.2.30.0040.00418.36
8.2.20.0100.00018.21
8.2.10.0070.00018.38
8.2.00.0050.00318.07
8.1.280.0070.01525.92
8.1.270.0060.00324.17
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0040.00422.23
8.1.230.0000.01019.30
8.1.220.0090.00018.03
8.1.210.0000.00818.77
8.1.200.0040.00717.85
8.1.190.0030.00517.63
8.1.180.0050.00318.10
8.1.170.0000.00818.96
8.1.160.0040.00422.24
8.1.150.0050.00219.14
8.1.140.0000.00817.81
8.1.130.0000.00718.08
8.1.120.0040.00417.84
8.1.110.0080.00017.70
8.1.100.0000.00717.73
8.1.90.0050.00317.71
8.1.80.0040.00417.82
8.1.70.0000.00717.66
8.1.60.0030.00618.02
8.1.50.0000.00817.76
8.1.40.0030.00617.76
8.1.30.0060.00317.95
8.1.20.0030.00518.10
8.1.10.0000.00818.04
8.1.00.0030.00517.77
8.0.300.0080.00018.77
8.0.290.0040.00417.13
8.0.280.0030.00318.59
8.0.270.0050.00317.51
8.0.260.0030.00317.40
8.0.250.0030.00317.29
8.0.240.0040.00417.26
8.0.230.0030.00317.22
8.0.220.0050.00217.30
8.0.210.0000.00717.16
8.0.200.0060.00017.42
8.0.190.0070.00017.34
8.0.180.0000.00717.35
8.0.170.0000.00817.24
8.0.160.0000.00717.12
8.0.150.0070.00017.08
8.0.140.0060.00317.09
8.0.130.0060.00313.71
8.0.120.0040.00417.23
8.0.110.0040.00417.21
8.0.100.0070.00017.32
8.0.90.0040.00417.15
8.0.80.0030.01317.17
8.0.70.0000.00717.32
8.0.60.0000.00817.16
8.0.50.0040.00417.34
8.0.30.0120.00817.35
8.0.20.0110.01217.48
8.0.10.0030.00617.40
8.0.00.0090.00917.14
7.4.330.0060.00015.37
7.4.320.0030.00316.97
7.4.300.0000.00616.82
7.4.290.0070.00017.07
7.4.280.0080.00017.06
7.4.270.0000.00816.93
7.4.260.0070.00017.01
7.4.250.0040.00416.88
7.4.240.0020.00516.85
7.4.230.0040.00417.09
7.4.220.0040.01416.95
7.4.210.0120.00317.04
7.4.200.0000.00716.80
7.4.160.0090.00916.79
7.4.150.0120.01317.40
7.4.140.0090.00817.86
7.4.130.0120.00617.04
7.4.120.0120.00517.04
7.4.110.0100.00717.00
7.4.100.0100.00716.96
7.4.90.0090.00916.92
7.4.80.0100.00719.39
7.4.70.0140.00316.86
7.4.60.0040.01216.91
7.4.50.0080.00016.96
7.4.40.0140.00316.82
7.4.30.0160.00016.96
7.4.00.0060.01115.18
7.3.330.0030.00313.76
7.3.320.0030.00513.71
7.3.310.0040.00416.84
7.3.300.0050.00216.61
7.3.290.0100.01016.68
7.3.280.0080.01016.75
7.3.270.0170.00917.40
7.3.260.0120.00616.75
7.3.250.0090.00816.99
7.3.240.0180.00416.72
7.3.230.0110.01917.10
7.3.210.0120.00616.95
7.3.200.0060.00919.39
7.3.190.0160.00716.76
7.3.180.0140.00317.09
7.3.170.0040.01116.75
7.3.160.0040.01216.82
7.3.120.0140.00715.04
7.3.110.0030.01415.06
7.3.100.0110.00415.02
7.3.90.0160.00315.06
7.3.80.0000.01115.09
7.3.70.0060.01215.29
7.3.60.0090.00615.22
7.3.50.0060.00614.95
7.3.40.0000.01314.75
7.3.30.0060.00315.04
7.3.20.0100.00717.01
7.3.10.0030.01316.73
7.3.00.0060.00917.00
7.2.330.0120.00617.16
7.2.320.0030.01517.11
7.2.310.0090.00917.07
7.2.300.0130.00316.93
7.2.290.0110.00817.08
7.2.250.0000.01815.42
7.2.240.0090.01215.36
7.2.230.0030.01215.36
7.2.220.0060.00615.21
7.2.210.0030.01015.27
7.2.200.0070.01015.42
7.2.190.0030.01615.18
7.2.180.0060.00615.25
7.2.170.0000.01415.16
7.2.60.0100.00716.90
7.2.00.0060.00619.61
7.1.330.0070.00716.09
7.1.320.0070.00716.04
7.1.310.0090.00616.22
7.1.300.0090.00615.79
7.1.290.0000.01516.14
7.1.280.0000.01215.96
7.1.270.0070.00716.11
7.1.260.0070.01016.03
7.1.200.0030.00915.84
7.1.100.0150.01216.72
7.1.70.0030.00517.20
7.1.60.0160.00919.40
7.1.50.0070.01817.02
7.1.00.0100.07022.60
7.0.200.0040.00417.16
7.0.140.0000.07722.20
7.0.90.0000.06020.03
7.0.80.0100.08319.98
7.0.70.0070.04020.02
7.0.60.0070.05020.08
7.0.50.0370.04320.51
7.0.40.0030.09020.20
7.0.30.0130.05720.21
7.0.20.0100.05720.07
7.0.10.0030.04320.27
7.0.00.0100.08020.08
5.6.280.0030.07321.18
5.6.230.0100.07020.90
5.6.220.0030.05020.54
5.6.210.0070.04020.86
5.6.200.0170.07321.02
5.6.190.0100.06721.24
5.6.180.0000.04721.16
5.6.170.0030.09021.24
5.6.160.0070.08021.30
5.6.150.0130.07021.11
5.6.140.0100.04721.21
5.6.130.0100.08021.18
5.6.120.0070.07721.26
5.6.110.0100.04720.98
5.6.100.0000.08321.08
5.6.90.0070.06721.14
5.6.80.0170.07720.49
5.6.70.0000.05320.46
5.6.60.0100.07020.36
5.6.50.0070.07720.40
5.6.40.0000.06020.34
5.6.30.0000.05720.55
5.6.20.0100.04720.61
5.6.10.0030.05020.49
5.6.00.0070.04020.50
5.5.370.0130.08020.63
5.5.360.0070.05020.58
5.5.350.0070.08320.39
5.5.340.0070.07720.79
5.5.330.0030.09021.03
5.5.320.0070.04321.04
5.5.310.0130.07320.86
5.5.300.0030.06320.95
5.5.290.0100.08020.81
5.5.280.0100.07721.05
5.5.270.0070.04020.91
5.5.260.0130.07020.88
5.5.250.0170.06720.84
5.5.240.0130.07720.34
5.5.230.0030.08020.33
5.5.220.0030.05020.27
5.5.210.0130.09320.21
5.5.200.0200.06020.30
5.5.190.0130.07720.36
5.5.180.0070.04320.20
5.5.160.0100.08020.30
5.5.150.0200.06020.24
5.5.140.0030.05720.39
5.5.130.0170.07320.39
5.5.120.0070.04720.12
5.5.110.0200.06720.20
5.5.100.0070.05020.22
5.5.90.0100.07020.21
5.5.80.0070.04720.07
5.5.70.0130.04020.11
5.5.60.0100.07020.24
5.5.50.0070.04320.11
5.5.40.0000.04720.01
5.5.30.0100.08020.05
5.5.20.0070.05020.13
5.5.10.0070.07320.07
5.5.00.0070.07720.07
5.4.450.0130.07319.28
5.4.440.0000.08319.35
5.4.430.0070.04319.55
5.4.420.0070.06019.34
5.4.410.0070.03719.53
5.4.400.0030.07019.28
5.4.390.0030.08019.12
5.4.380.0030.06319.04
5.4.370.0030.04719.02
5.4.360.0100.07319.07
5.4.350.0100.07319.38
5.4.340.0130.06319.19
5.4.320.0100.06719.04
5.4.310.0030.07718.98
5.4.300.0070.03719.11
5.4.290.0030.08719.23
5.4.280.0030.07019.02
5.4.270.0130.06319.21
5.4.260.0070.06019.11
5.4.250.0100.04319.22
5.4.240.0100.05719.23
5.4.230.0030.04718.93
5.4.220.0070.04319.26
5.4.210.0100.03719.23
5.4.200.0030.07718.95
5.4.190.0100.07018.94
5.4.180.0000.04319.27
5.4.170.0100.03319.29
5.4.160.0030.06019.20
5.4.150.0100.05319.26
5.4.140.0000.08716.59
5.4.130.0030.07016.42
5.4.120.0100.03316.50
5.4.110.0000.06716.46
5.4.100.0100.07316.68
5.4.90.0070.05716.56
5.4.80.0070.05016.63
5.4.70.0000.07016.54
5.4.60.0000.04316.57
5.4.50.0000.04016.61
5.4.40.0000.04316.61
5.4.30.0000.07316.57
5.4.20.0000.04316.54
5.4.10.0070.07316.60
5.4.00.0070.07015.93
5.3.290.0100.07014.66
5.3.280.0070.04014.46
5.3.270.0030.05014.59
5.3.260.0070.07714.55
5.3.250.0030.04314.60
5.3.240.0070.07014.59
5.3.230.0070.04014.58
5.3.220.0070.06014.42
5.3.210.0070.04014.56
5.3.200.0030.04314.56
5.3.190.0170.06014.39
5.3.180.0030.06714.56
5.3.170.0070.06714.47
5.3.160.0100.06014.52
5.3.150.0070.04314.55
5.3.140.0100.06714.49
5.3.130.0030.04714.54
5.3.120.0000.07014.48
5.3.110.0130.04714.40
5.3.100.0000.07713.95
5.3.90.0030.08014.02
5.3.80.0070.07013.88
5.3.70.0100.07713.88
5.3.60.0170.04313.95
5.3.50.0130.04713.80
5.3.40.0100.07013.94
5.3.30.0030.05313.86
5.3.20.0100.04313.65
5.3.10.0030.04713.57
5.3.00.0130.07013.64
5.2.170.0030.05311.17
5.2.160.0000.03710.98
5.2.150.0130.04311.18
5.2.140.0100.06311.10
5.2.130.0070.04711.08
5.2.120.0000.04011.17
5.2.110.0030.06011.09
5.2.100.0030.06011.05
5.2.90.0030.03311.09
5.2.80.0100.05711.09
5.2.70.0130.05311.15
5.2.60.0070.04710.97
5.2.50.0000.06711.07
5.2.40.0000.06710.85
5.2.30.0030.04710.85
5.2.20.0000.05710.96
5.2.10.0030.04010.91
5.2.00.0070.02710.72
5.1.60.0100.0339.88
5.1.50.0030.0479.85
5.1.40.0030.03710.00
5.1.30.0030.05310.20
5.1.20.0070.03010.39
5.1.10.0070.04310.06
5.1.00.0070.05010.09
5.0.50.0030.0478.53
5.0.40.0070.0338.34
5.0.30.0030.0408.34
5.0.20.0070.0338.34
5.0.10.0000.0438.34
5.0.00.0030.0408.34
4.4.90.0030.0338.34
4.4.80.0000.0238.34
4.4.70.0070.0338.34
4.4.60.0030.0378.34
4.4.50.0000.0308.34
4.4.40.0030.0408.34
4.4.30.0100.0278.34
4.4.20.0070.0308.34
4.4.10.0030.0208.34
4.4.00.0070.0378.34
4.3.110.0030.0308.34
4.3.100.0030.0338.34
4.3.90.0030.0338.34
4.3.80.0000.0438.34
4.3.70.0070.0278.34
4.3.60.0000.0378.34
4.3.50.0070.0238.34
4.3.40.0000.0338.34
4.3.30.0030.0338.34
4.3.20.0000.0238.34
4.3.10.0000.0278.34
4.3.00.0030.0208.34

preferences:
37.97 ms | 401 KiB | 5 Q