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); foreach ($xml as $node) { echo $node . " => "; print_r(explode(';', $node->attributes()['prop'])); echo "\n\n"; }

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.0060.00916.88
8.3.50.0100.01522.96
8.3.40.0060.01019.29
8.3.30.0070.01119.34
8.3.20.0040.00420.60
8.3.10.0050.00523.70
8.3.00.0040.00419.63
8.2.180.0100.00618.79
8.2.170.0160.00022.96
8.2.160.0100.00320.65
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00421.33
8.2.110.0030.00719.63
8.2.100.0060.00618.16
8.2.90.0060.00619.03
8.2.80.0040.00418.13
8.2.70.0050.00318.00
8.2.60.0000.00818.05
8.2.50.0050.00518.07
8.2.40.0030.00520.38
8.2.30.0000.00818.44
8.2.20.0000.00818.09
8.2.10.0000.00818.30
8.2.00.0040.00418.14
8.1.280.0090.00925.92
8.1.270.0090.00024.09
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00622.34
8.1.230.0070.00419.30
8.1.220.0000.00818.04
8.1.210.0040.00418.77
8.1.200.0090.00017.73
8.1.190.0000.00917.63
8.1.180.0080.00018.10
8.1.170.0030.00618.96
8.1.160.0040.00422.15
8.1.150.0030.00619.13
8.1.140.0000.00817.83
8.1.130.0070.00018.07
8.1.120.0020.00517.91
8.1.110.0040.00417.86
8.1.100.0050.00317.84
8.1.90.0040.00417.69
8.1.80.0040.00417.75
8.1.70.0030.00317.73
8.1.60.0030.00617.97
8.1.50.0030.00617.79
8.1.40.0080.00017.76
8.1.30.0000.00817.97
8.1.20.0040.00417.94
8.1.10.0030.00617.83
8.1.00.0060.00317.86
8.0.300.0080.00018.77
8.0.290.0040.00417.13
8.0.280.0000.00718.68
8.0.270.0000.00717.45
8.0.260.0000.00617.36
8.0.250.0070.00017.23
8.0.240.0000.00717.25
8.0.230.0070.00017.35
8.0.220.0030.00317.09
8.0.210.0000.00717.30
8.0.200.0050.00317.18
8.0.190.0000.00817.22
8.0.180.0000.00717.18
8.0.170.0030.00517.21
8.0.160.0000.00817.19
8.0.150.0070.00017.13
8.0.140.0080.00017.19
8.0.130.0040.00413.66
8.0.120.0030.00517.14
8.0.110.0000.00717.14
8.0.100.0050.00217.22
8.0.90.0050.00317.19
8.0.80.0090.00617.29
8.0.70.0070.00017.22
8.0.60.0040.00417.17
8.0.50.0080.00017.25
8.0.30.0130.00917.45
8.0.20.0140.00617.48
8.0.10.0080.00017.12
8.0.00.0150.00617.28
7.4.330.0050.00015.29
7.4.320.0040.00416.81
7.4.300.0040.00417.04
7.4.290.0050.00216.91
7.4.280.0000.00717.04
7.4.270.0070.00016.92
7.4.260.0000.00717.00
7.4.250.0060.00316.92
7.4.240.0000.00716.94
7.4.230.0030.00317.14
7.4.220.0040.01516.98
7.4.210.0110.00716.92
7.4.200.0000.00816.96
7.4.160.0060.00916.96
7.4.150.0150.00417.40
7.4.140.0140.00517.86
7.4.130.0070.00916.88
7.4.120.0100.00916.98
7.4.110.0130.00916.96
7.4.100.0150.00416.91
7.4.90.0130.00416.91
7.4.80.0090.01519.39
7.4.70.0080.00816.88
7.4.60.0060.01016.70
7.4.50.0000.00516.91
7.4.40.0130.00517.09
7.4.30.0060.00916.91
7.4.00.0070.00715.36
7.3.330.0030.00313.57
7.3.320.0000.00713.50
7.3.310.0020.00516.75
7.3.300.0000.00616.70
7.3.290.0070.01416.70
7.3.280.0100.00816.69
7.3.270.0080.01517.40
7.3.260.0170.00716.62
7.3.250.0120.00916.87
7.3.240.0040.02016.63
7.3.230.0080.00816.70
7.3.210.0060.01117.00
7.3.200.0110.00519.39
7.3.190.0060.01316.69
7.3.180.0090.01116.86
7.3.170.0080.00816.66
7.3.160.0140.00316.85
7.2.330.0060.01217.24
7.2.320.0090.00917.02
7.2.310.0110.01117.13
7.2.300.0060.01216.93
7.2.290.0160.00617.00
7.1.100.0080.01516.89
7.1.70.0050.00217.68
7.1.60.0120.01219.40
7.1.50.0070.01717.43
7.1.00.0100.07022.66
7.0.200.0000.00817.15
7.0.140.0000.07722.12
7.0.60.0030.07320.12
7.0.50.0070.07718.10
7.0.40.0030.08320.19
7.0.30.0100.05720.30
7.0.20.0370.07720.20
7.0.10.0070.05020.33
7.0.00.0130.07020.32
5.6.280.0100.06721.03
5.6.210.0200.06720.71
5.6.200.0100.07018.29
5.6.190.0000.04320.41
5.6.180.0400.06720.66
5.6.170.0270.07020.55
5.6.160.0100.07020.68
5.6.150.0130.07018.30
5.6.140.0030.04718.28
5.6.130.0070.06018.26
5.6.120.0030.05020.82
5.6.110.0100.08721.22
5.6.100.0000.08321.09
5.6.90.0130.08721.08
5.6.80.0100.07720.43
5.5.350.0230.06320.59
5.5.340.0100.08018.11
5.5.330.0030.04020.40
5.5.320.0430.07020.50
5.5.310.0300.06720.50
5.5.300.0030.06318.18
5.5.290.0070.05017.96
5.5.280.0100.08020.78
5.5.270.0070.08320.87
5.5.260.0070.08720.91
5.5.250.0030.07720.64
5.5.240.0070.08020.23
5.4.450.0170.04319.37
5.4.440.0230.06019.38
5.4.430.0130.04319.39
5.4.420.0230.07719.34
5.4.410.0270.07019.52
5.4.400.0330.06019.32
5.4.390.0270.07319.36
5.4.380.0230.04719.22
5.4.370.0230.05719.06
5.4.360.0170.04019.36
5.4.350.0170.04319.36
5.4.340.0300.06319.14
5.4.320.0270.04019.33
5.4.310.0170.06719.22
5.4.300.0230.07319.13
5.4.290.0200.05019.02
5.4.280.0270.06719.35
5.4.270.0230.05719.36
5.4.260.0270.07019.29
5.4.250.0230.07719.03
5.4.240.0200.05019.12
5.4.230.0230.05319.31
5.4.220.0170.04019.29
5.4.210.0200.08019.29
5.4.200.0200.06719.29
5.4.190.0230.03319.04
5.4.180.0300.06319.15
5.4.170.0300.06319.32
5.4.160.0270.07319.27
5.4.150.0200.04719.28
5.4.140.0330.06716.46
5.4.130.0270.05716.57
5.4.120.0200.07316.57
5.4.110.0300.06716.68
5.4.100.0200.07016.51
5.4.90.0270.06716.68
5.4.80.0270.06716.66
5.4.70.0200.06016.66
5.4.60.0270.06716.66
5.4.50.0170.07716.69
5.4.40.0200.07316.68
5.4.30.0300.04016.34
5.4.20.0230.03716.67
5.4.10.0270.03716.55
5.4.00.0100.04016.09
5.3.290.0200.03714.61
5.3.280.0370.04014.45
5.3.270.0200.07314.56
5.3.260.0230.06014.55
5.3.250.0270.06714.54
5.3.240.0230.07314.48
5.3.230.0230.06314.58
5.3.220.0270.05014.50
5.3.210.0300.06714.52
5.3.200.0200.05014.43
5.3.190.0230.07014.52
5.3.180.0230.07314.52
5.3.170.0230.07014.65
5.3.160.0230.07314.59
5.3.150.0200.07314.65
5.3.140.0170.05014.67
5.3.130.0230.05714.41
5.3.120.0170.04714.39
5.3.110.0170.03714.38
5.3.100.0100.04313.90
5.3.90.0170.03713.97
5.3.80.0130.04014.05
5.3.70.0170.03314.11
5.3.60.0130.03713.85
5.3.50.0070.04013.89
5.3.40.0200.03714.03
5.3.30.0170.03313.86
5.3.20.0170.03313.73
5.3.10.0100.03713.61
5.3.00.0130.03713.48
5.2.170.0100.03312.60
5.2.160.0070.03312.60
5.2.150.0170.03012.60
5.2.140.0100.03012.60
5.2.130.0100.04312.60
5.2.120.0100.03012.60
5.2.110.0170.02312.60
5.2.100.0170.05012.60
5.2.90.0130.02712.60
5.2.80.0100.03012.60
5.2.70.0130.02712.60
5.2.60.0100.03012.60
5.2.50.0130.03012.60
5.2.40.0100.03012.60
5.2.30.0070.03012.60
5.2.20.0100.02712.60
5.2.10.0100.02712.60
5.2.00.0130.02312.60
5.1.60.0070.02712.60
5.1.50.0070.03012.60
5.1.40.0200.01712.60
5.1.30.0130.02712.60
5.1.20.0100.02312.60
5.1.10.0030.03012.60
5.1.00.0070.03012.60
5.0.50.0030.02012.60
5.0.40.0030.02012.60
5.0.30.0030.03012.60
5.0.20.0100.03712.60
5.0.10.0030.02312.60
5.0.00.0130.02712.60
4.4.90.0070.01312.60
4.4.80.0030.01712.60
4.4.70.0070.01312.60
4.4.60.0070.01312.60
4.4.50.0030.01712.60
4.4.40.0030.02712.60
4.4.30.0030.02712.60
4.4.20.0070.01312.60
4.4.10.0070.01312.60
4.4.00.0030.02712.60
4.3.110.0070.01312.60
4.3.100.0030.01312.60
4.3.90.0070.01312.60
4.3.80.0070.03012.60
4.3.70.0070.01312.60
4.3.60.0030.01712.60
4.3.50.0070.01312.60
4.3.40.0030.02712.60
4.3.30.0030.01312.60
4.3.20.0000.01712.60
4.3.10.0030.01312.60
4.3.00.0000.02012.60

preferences:
41.17 ms | 401 KiB | 5 Q