3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { } class B { public function test(A $a) { if (!$a instanceof A) { die("Fuck type hinting, i am ". (is_object($a) ? get_class($a) : gettype($a)). "! This is SOAP"); } } } class C { } class Test { public function test() { $b = new B(); $b->test(new C()); } } $server = new \SoapServer(null, array("uri" => "http://localhost")); $server->setClass("Test"); $server->handle('<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://localhost" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test></ns1:test></SOAP-ENV:Body></SOAP-ENV:Envelope>');

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.0120.00318.55
8.3.50.0160.00522.11
8.3.40.0120.00318.67
8.3.30.0100.00319.13
8.3.20.0080.00020.29
8.3.10.0000.00821.98
8.3.00.0000.00822.49
8.2.180.0100.01316.63
8.2.170.0100.00722.96
8.2.160.0070.00719.07
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0030.00917.50
8.2.110.0060.00322.08
8.2.100.0000.01119.51
8.2.90.0000.00718.98
8.2.80.0030.00617.97
8.2.70.0040.00417.63
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0080.00319.94
8.2.30.0050.00317.88
8.2.20.0040.00417.47
8.2.10.0000.00717.57
8.2.00.0000.00717.55
8.1.280.0100.00725.92
8.1.270.0080.00022.18
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0030.00723.79
8.1.230.0040.00719.23
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0070.00317.23
8.1.190.0020.00517.41
8.1.180.0050.00318.67
8.1.170.0040.00418.57
8.1.160.0040.00422.05
8.1.150.0040.00418.45
8.1.140.0040.00417.33
8.1.130.0030.00317.66
8.1.120.0000.00717.34
8.1.110.0000.00917.34
8.1.100.0050.00317.36
8.1.90.0110.00017.31
8.1.80.0000.00717.33
8.1.70.0000.00717.22
8.1.60.0060.00317.44
8.1.50.0000.00717.47
8.1.40.0050.00217.40
8.1.30.0000.00917.46
8.1.20.0000.00817.43
8.1.10.0050.00217.43
8.1.00.0060.00317.38
8.0.300.0000.00718.77
8.0.290.0040.00416.93
8.0.280.0000.00718.29
8.0.270.0080.00017.20
8.0.260.0060.00018.38
8.0.250.0030.00316.96
8.0.240.0050.00516.86
8.0.230.0070.00017.02
8.0.220.0030.00316.80
8.0.210.0000.00816.79
8.0.200.0000.00716.95
8.0.190.0040.00416.83
8.0.180.0000.00716.89
8.0.170.0000.00816.92
8.0.160.0040.00416.79
8.0.150.0050.00216.92
8.0.140.0050.00316.76
8.0.130.0050.00013.34
8.0.120.0000.00716.97
8.0.110.0000.00816.74
8.0.100.0000.00716.85
8.0.90.0040.00416.77
8.0.80.0070.00716.80
8.0.70.0030.00616.77
8.0.60.0040.00416.93
8.0.50.0020.00516.74
8.0.30.0050.01417.11
8.0.20.0070.01117.40
8.0.10.0000.00716.84
8.0.00.0090.00916.56
7.4.330.0030.00315.00
7.4.320.0060.00016.46
7.4.300.0000.00616.40
7.4.290.0040.00416.47
7.4.280.0030.00316.48
7.4.270.0000.00616.55
7.4.260.0000.00716.38
7.4.250.0050.00316.48
7.4.240.0020.00616.48
7.4.230.0050.00216.33
7.4.220.0100.00716.66
7.4.210.0040.01016.42
7.4.200.0030.00316.57
7.4.190.0030.00316.59
7.4.160.0120.00316.38
7.4.150.0150.00317.40
7.4.140.0130.00817.86
7.4.130.0100.00816.56
7.4.120.0090.00816.55
7.4.110.0150.00316.56
7.4.100.0130.01016.62
7.4.90.0070.01016.43
7.4.80.0070.01119.39
7.4.70.0120.00616.34
7.4.60.0140.00916.34
7.4.50.0040.00416.29
7.4.40.0080.01122.77
7.4.30.0060.01016.61
7.4.00.0000.01514.97
7.3.330.0000.00813.31
7.3.320.0000.00513.18
7.3.310.0000.00716.32
7.3.300.0000.00616.18
7.3.290.0060.00916.18
7.3.280.0100.00616.28
7.3.270.0090.00917.40
7.3.260.0130.00316.28
7.3.250.0100.01016.33
7.3.240.0120.00616.26
7.3.230.0110.00816.47
7.3.210.0070.01016.49
7.3.200.0090.00619.39
7.3.190.0080.01516.45
7.3.180.0060.01116.52
7.3.170.0030.01316.45
7.3.160.0070.01016.47
7.3.120.0060.00914.55
7.2.330.0140.01016.60
7.2.320.0070.01316.41
7.2.310.0100.01016.48
7.2.300.0060.01016.61
7.2.290.0130.00316.26
7.2.60.0070.00716.58
7.2.00.0030.00919.45
7.1.200.0100.00315.55
7.1.100.0000.01118.23
7.1.70.0050.00516.71
7.1.60.0070.01119.82
7.1.50.0070.01116.86
7.1.00.0000.08022.45
7.0.200.0050.00216.82
7.0.140.0070.06722.18
7.0.60.0070.07721.84
7.0.50.0070.04717.89
7.0.40.0130.08020.26
7.0.30.0200.05720.25
7.0.20.0370.08020.23
7.0.10.0270.04020.08
7.0.00.0100.05320.22
5.6.280.0070.07020.79
5.6.210.0170.07020.50
5.6.200.0070.06318.16
5.6.190.0230.06720.78
5.6.180.3530.03320.63
5.6.170.0270.09020.44
5.6.160.0000.09020.53
5.6.150.0100.07718.27
5.6.140.0030.07318.15
5.6.130.0100.07718.18
5.6.120.0070.04021.00
5.6.110.0030.04321.15
5.6.100.0000.04320.89
5.6.90.0130.08321.10
5.6.80.0070.05320.38
5.5.350.0030.08720.40
5.5.340.0000.04317.95
5.5.330.0070.08720.21
5.5.320.0300.05020.38
5.5.310.0300.07320.27
5.5.300.0030.08018.01
5.5.290.0100.06717.99
5.5.280.0100.07720.77
5.5.270.0130.07720.84
5.5.260.0030.06020.69
5.5.250.0030.07720.80
5.5.240.0030.05720.02
5.4.450.0730.06719.16
5.4.440.0700.06719.16
5.4.430.0330.05719.47
5.4.420.0770.06719.58
5.4.410.0870.05319.04
5.4.400.1300.06718.51
5.4.390.1330.06018.72
5.4.380.0270.05318.71
5.4.370.0070.06018.75
5.4.360.0130.05018.59
5.4.350.0130.05318.79
5.4.340.0170.05018.73
5.4.320.0080.04112.69
5.4.310.0030.04112.68
5.4.300.0080.03812.68
5.4.290.0070.03612.68
5.4.280.0050.04112.58
5.4.270.0140.04212.57
5.4.260.0130.06318.77
5.4.250.0130.06718.93
5.4.240.0100.06319.02
5.4.230.0130.07318.79
5.4.220.0070.06318.83
5.4.210.0100.07718.83
5.4.200.0230.04718.64
5.4.190.0230.04018.83
5.4.180.0170.05018.75
5.4.170.0170.05318.95
5.4.160.0130.06018.91
5.4.150.0070.06018.74
5.4.140.0130.05016.44
5.4.130.0070.05716.40
5.4.120.0100.07716.48
5.4.110.0170.05316.44
5.4.100.0100.06016.38
5.4.90.0030.08016.46
5.4.80.0100.06316.45
5.4.70.0070.05316.55
5.4.60.0200.06316.46
5.4.50.0070.06016.49
5.4.40.0030.07716.35
5.4.30.0130.06316.48
5.4.20.0070.07316.30
5.4.10.0230.04716.47
5.4.00.0200.06016.04
5.3.290.0060.03912.93
5.3.280.0170.06014.71
5.3.270.0130.06314.80
5.3.260.0070.08014.80
5.3.250.0100.05314.91
5.3.240.0070.05314.80
5.3.230.0170.05014.75
5.3.220.0200.06014.73
5.3.210.0170.05714.54
5.3.200.0030.07714.88
5.3.190.0030.05714.85
5.3.180.0170.06714.71
5.3.170.0170.05714.87
5.3.160.0100.05314.54
5.3.150.0030.05714.66
5.3.140.0130.04714.83
5.3.130.0200.06714.66
5.3.120.0100.05314.66
5.3.110.0100.06714.62
5.3.100.0100.05314.34
5.3.90.0100.05714.19
5.3.80.0070.05314.18
5.3.70.0070.05714.13
5.3.60.0100.05014.16
5.3.50.0200.04314.13
5.3.40.0130.05014.11
5.3.30.0070.05314.08
5.3.20.0030.05313.86
5.3.10.0170.05313.95
5.3.00.0170.06713.84
5.2.170.0130.04011.30
5.2.160.0030.04311.31
5.2.150.0070.04311.30
5.2.140.0130.04311.30
5.2.130.0170.03311.31
5.2.120.0030.04711.26
5.2.110.0130.05311.21
5.2.100.0100.03711.26
5.2.90.0070.04311.29
5.2.80.0100.04311.06
5.2.70.0030.06711.07
5.2.60.0100.06011.16
5.2.50.0070.05011.12
5.2.40.0100.05011.16
5.2.30.0130.04710.96
5.2.20.0100.05711.07
5.2.10.0100.04711.01
5.2.00.0130.04710.84
5.1.60.0100.03710.14
5.1.50.0130.02710.13
5.1.40.0030.04710.03
5.1.30.0000.04010.50
5.1.20.0030.04310.52
5.1.10.0230.03010.40
5.1.00.0070.04710.42
5.0.50.0100.0338.68
5.0.40.0070.0338.55
5.0.30.0000.0578.36
5.0.20.0030.0278.33
5.0.10.0070.0338.22
5.0.00.0070.0438.21
4.4.90.0070.0307.27
4.4.80.0070.0307.27
4.4.70.0070.0277.27
4.4.60.0030.0307.27
4.4.50.0070.0277.27
4.4.40.0100.0407.27
4.4.30.0100.0177.27
4.4.20.0030.0277.27
4.4.10.0000.0337.27
4.4.00.0070.0377.27
4.3.110.0100.0177.27
4.3.100.0030.0307.27
4.3.90.0000.0337.27
4.3.80.0000.0337.27
4.3.70.0100.0177.27
4.3.60.0030.0207.27
4.3.50.0070.0177.27
4.3.40.0070.0377.27
4.3.30.0000.0237.27
4.3.20.0070.0207.27
4.3.10.0030.0277.27
4.3.00.0330.0208.67

preferences:
33.89 ms | 401 KiB | 5 Q