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 . "\n"; 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.0160.00017.38
8.3.50.0140.00723.20
8.3.40.0130.00318.94
8.3.30.0070.00719.29
8.3.20.0000.00920.46
8.3.10.0030.00523.75
8.3.00.0060.00319.63
8.2.180.0030.01218.55
8.2.170.0070.00722.96
8.2.160.0070.00720.47
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.35
8.2.110.0060.00320.78
8.2.100.0090.00318.34
8.2.90.0040.00419.42
8.2.80.0040.00418.13
8.2.70.0080.00018.00
8.2.60.0000.00818.18
8.2.50.0030.00618.13
8.2.40.0030.00618.53
8.2.30.0040.00420.09
8.2.20.0050.00318.17
8.2.10.0050.00218.27
8.2.00.0070.00018.08
8.1.280.0130.00625.92
8.1.270.0000.00824.09
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00022.36
8.1.230.0070.00419.27
8.1.220.0030.00617.89
8.1.210.0030.00618.77
8.1.200.0030.00617.60
8.1.190.0050.00317.73
8.1.180.0000.00818.10
8.1.170.0000.00819.09
8.1.160.0080.00022.23
8.1.150.0050.00219.23
8.1.140.0000.00817.83
8.1.130.0080.00018.03
8.1.120.0000.00717.77
8.1.110.0000.00717.74
8.1.100.0050.00317.71
8.1.90.0080.00017.74
8.1.80.0040.00417.92
8.1.70.0030.00317.77
8.1.60.0040.00417.83
8.1.50.0050.00317.91
8.1.40.0030.00617.91
8.1.30.0030.00517.99
8.1.20.0040.00417.89
8.1.10.0030.00517.81
8.1.00.0070.00017.91
8.0.300.0000.00718.77
8.0.290.0000.00717.13
8.0.280.0000.00718.66
8.0.270.0000.00717.50
8.0.260.0050.00317.51
8.0.250.0030.00317.37
8.0.240.0000.00817.25
8.0.230.0030.00317.17
8.0.220.0000.00717.36
8.0.210.0040.00417.38
8.0.200.0000.00617.27
8.0.190.0040.00417.39
8.0.180.0040.00417.18
8.0.170.0050.00317.23
8.0.160.0040.00417.25
8.0.150.0000.00717.28
8.0.140.0060.00317.14
8.0.130.0000.00713.78
8.0.120.0030.00517.07
8.0.110.0000.00717.36
8.0.100.0070.00017.14
8.0.90.0040.00417.04
8.0.80.0060.00917.22
8.0.70.0000.00717.08
8.0.60.0050.00217.11
8.0.50.0080.00017.07
8.0.30.0090.01117.19
8.0.20.0090.01017.40
8.0.10.0000.00917.19
8.0.00.0060.01217.05
7.4.330.0000.00515.43
7.4.320.0030.00317.01
7.4.300.0030.00316.95
7.4.290.0040.00416.95
7.4.280.0030.00616.92
7.4.270.0030.00316.96
7.4.260.0000.00716.92
7.4.250.0050.00517.01
7.4.240.0020.00517.01
7.4.230.0000.00716.99
7.4.220.0060.01317.05
7.4.210.0110.00517.05
7.4.200.0070.00016.92
7.4.160.0110.00616.87
7.4.150.0140.00517.40
7.4.140.0070.00917.86
7.4.130.0090.00916.89
7.4.120.0100.00716.87
7.4.110.0000.01917.04
7.4.100.0130.01016.95
7.4.90.0060.01517.01
7.4.80.0030.01419.39
7.4.70.0070.01017.01
7.4.60.0060.01116.94
7.4.50.0030.00617.01
7.4.40.0040.01516.94
7.4.30.0030.01316.95
7.4.00.0070.01015.13
7.3.330.0030.00313.59
7.3.320.0070.00013.55
7.3.310.0000.00716.77
7.3.300.0000.00616.69
7.3.290.0110.00316.75
7.3.280.0050.01016.69
7.3.270.0130.00317.40
7.3.260.0070.01316.89
7.3.250.0120.00916.94
7.3.240.0090.00916.76
7.3.230.0100.00716.99
7.3.210.0090.00916.63
7.3.200.0160.00319.39
7.3.190.0100.00716.93
7.3.180.0120.00916.91
7.3.170.0060.00917.01
7.3.160.0100.00716.79
7.2.330.0140.00317.10
7.2.320.0110.00717.14
7.2.310.0100.01416.95
7.2.300.0120.00617.20
7.2.290.0150.00316.93
7.2.00.0000.01419.78
7.1.100.0120.00616.46
7.1.70.0030.00517.63
7.1.60.0140.01019.40
7.1.50.0030.02217.35
7.1.00.0000.08022.54
7.0.200.0030.00617.07
7.0.140.0130.06722.12
7.0.60.0100.04020.06
7.0.50.0100.03718.04
7.0.40.0030.09020.37
7.0.30.0300.07320.23
7.0.20.0230.08320.20
7.0.10.0030.08720.23
7.0.00.0030.04320.22
5.6.280.0030.07321.06
5.6.210.0000.08320.83
5.6.200.0030.08318.30
5.6.190.0100.05720.77
5.6.180.0370.06020.75
5.6.170.0200.04020.62
5.6.160.0100.07320.56
5.6.150.0070.05018.25
5.6.140.0070.03718.18
5.6.130.0300.06318.18
5.6.120.0030.05721.04
5.6.110.0170.07721.08
5.6.100.0030.07321.00
5.6.90.0100.06021.11
5.6.80.0030.08720.43
5.5.350.0330.03720.46
5.5.340.0100.08318.12
5.5.330.0070.04020.52
5.5.320.0200.03720.38
5.5.310.0500.06720.36
5.5.300.0130.04718.10
5.5.290.0030.05017.98
5.5.280.0030.05720.85
5.5.270.0230.06020.77
5.5.260.0070.08320.91
5.5.250.0070.07720.71
5.5.240.0030.05320.48
5.4.450.0200.04719.46
5.4.440.0300.04019.62
5.4.430.0170.04019.31
5.4.420.0230.04019.32
5.4.410.0470.04719.33
5.4.400.0170.03719.13
5.4.390.0470.04719.21
5.4.380.0270.05018.84
5.4.370.0600.06018.83
5.4.360.0570.06018.60
5.4.350.0300.06718.92
5.4.340.0170.06018.63
5.4.320.0040.03712.64
5.4.310.0080.03612.64
5.4.300.0060.03812.64
5.4.290.0050.03912.63
5.4.280.0080.03912.53
5.4.270.0080.03712.53
5.4.260.0070.03712.53
5.4.250.0070.03712.53
5.4.240.0050.03812.53
5.4.230.0090.03712.52
5.4.220.0090.03212.52
5.4.210.0050.03712.52
5.4.200.0060.04512.52
5.4.190.0070.03712.52
5.4.180.0050.03712.52
5.4.170.0050.03712.53
5.4.160.0090.03312.53
5.4.150.0070.03412.52
5.4.140.0050.03712.20
5.4.130.0060.03512.20
5.4.120.0070.03512.15
5.4.110.0060.03512.14
5.4.100.0070.03512.14
5.4.90.0070.03712.14
5.4.80.0100.03412.15
5.4.70.0040.03612.15
5.4.60.0050.03512.15
5.4.50.0080.03312.15
5.4.40.0080.04112.14
5.4.30.0060.03512.13
5.4.20.0070.03412.13
5.4.10.0090.03112.13
5.4.00.0030.03711.63
5.3.290.0030.04112.80
5.3.280.0050.03812.71
5.3.270.0040.04012.73
5.3.260.0060.03812.72
5.3.250.0040.04012.71
5.3.240.0050.03812.72
5.3.230.0070.03712.71
5.3.220.0050.04012.68
5.3.210.0050.04212.68
5.3.200.0060.03912.68
5.3.190.0070.03912.68
5.3.180.0070.03612.68
5.3.170.0040.04112.67
5.3.160.0040.03912.68
5.3.150.0070.03812.67
5.3.140.0090.03412.66
5.3.130.0070.04312.66
5.3.120.0090.04012.66
5.3.110.0070.04112.66
5.3.100.0090.03312.12
5.3.90.0080.03412.08
5.3.80.0100.03812.08
5.3.70.0070.04112.07
5.3.60.0070.04512.06
5.3.50.0060.04112.00
5.3.40.0070.04112.00
5.3.30.0110.03811.95
5.3.20.0040.03711.72
5.3.10.0040.03711.70
5.3.00.0080.03611.69
5.2.170.0070.0299.19
5.2.160.0070.0339.18
5.2.150.0030.0349.18
5.2.140.0050.0319.18
5.2.130.0040.0319.14
5.2.120.0070.0269.14
5.2.110.0060.0299.15
5.2.100.0060.0319.14
5.2.90.0070.0289.14
5.2.80.0110.0289.14
5.2.70.0080.0279.14
5.2.60.0070.0289.09
5.2.50.0050.0309.06
5.2.40.0080.0259.04
5.2.30.0040.0309.02
5.2.20.0070.0269.00
5.2.10.0050.0288.92
5.2.00.0060.0348.79
5.1.60.0040.0358.07
5.1.50.0060.0238.07
5.1.40.0040.0258.05
5.1.30.0040.0278.40
5.1.20.0030.0278.42
5.1.10.0060.0268.14
5.1.00.0030.0298.14
5.0.50.0050.0196.62
5.0.40.0060.0176.49
5.0.30.0020.0376.30
5.0.20.0030.0206.26
5.0.10.0060.0176.25
5.0.00.0050.0296.24
4.4.90.0020.0164.78
4.4.80.0050.0124.75
4.4.70.0040.0144.75
4.4.60.0020.0164.75
4.4.50.0040.0144.77
4.4.40.0010.0274.71
4.4.30.0010.0174.76
4.4.20.0060.0124.84
4.4.10.0040.0144.85
4.4.00.0050.0224.76
4.3.110.0020.0164.67
4.3.100.0020.0154.66
4.3.90.0000.0174.63
4.3.80.0040.0234.58
4.3.70.0030.0144.63
4.3.60.0010.0164.63
4.3.50.0030.0154.63
4.3.40.0040.0234.54
4.3.30.0010.0173.29
4.3.20.0000.0183.27
4.3.10.0010.0163.22
4.3.00.0000.02015.64

preferences:
43.17 ms | 401 KiB | 5 Q