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", "location" => "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.70.0080.00616.63
8.3.60.0060.00916.63
8.3.50.0180.00916.32
8.3.40.0060.01218.79
8.3.30.0150.00018.59
8.3.20.0040.00418.74
8.3.10.0090.00020.65
8.3.00.0040.00419.38
8.2.180.0130.00916.50
8.2.170.0100.00722.96
8.2.160.0070.00721.02
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00020.76
8.2.110.0030.00620.49
8.2.100.0040.00717.78
8.2.90.0040.00419.16
8.2.80.0050.00319.20
8.2.70.0030.00517.50
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0000.00718.03
8.2.30.0040.00417.94
8.2.20.0030.00517.71
8.2.10.0040.00417.64
8.2.00.0050.00217.59
8.1.280.0100.01025.92
8.1.270.0070.00024.66
8.1.260.0050.00326.35
8.1.250.0090.00028.09
8.1.240.0040.00722.52
8.1.230.0040.00820.87
8.1.220.0000.00817.74
8.1.210.0040.00718.77
8.1.200.0040.00417.22
8.1.190.0080.00017.28
8.1.180.0030.00618.10
8.1.170.0070.00018.95
8.1.160.0040.00418.70
8.1.150.0000.00718.52
8.1.140.0000.00717.28
8.1.130.0000.00717.64
8.1.120.0080.00017.25
8.1.110.0070.00017.33
8.1.100.0030.00317.33
8.1.90.0000.00717.38
8.1.80.0000.00717.26
8.1.70.0000.00717.31
8.1.60.0040.00417.46
8.1.50.0040.00417.35
8.1.40.0040.00417.46
8.1.30.0040.00417.48
8.1.20.0040.00417.49
8.1.10.0040.00417.45
8.1.00.0020.00517.48
8.0.300.0040.00419.81
8.0.290.0050.00216.58
8.0.280.0050.00218.34
8.0.270.0000.00717.11
8.0.260.0070.00016.81
8.0.250.0000.00916.88
8.0.240.0030.00516.83
8.0.230.0030.00316.98
8.0.220.0070.00016.96
8.0.210.0030.00316.85
8.0.200.0040.00416.95
8.0.190.0030.00316.90
8.0.180.0000.00716.98
8.0.170.0030.00516.80
8.0.160.0000.00716.89
8.0.150.0080.00016.68
8.0.140.0030.00516.75
8.0.130.0050.00013.29
8.0.120.0000.00816.80
8.0.110.0000.00716.94
8.0.100.0000.00816.85
8.0.90.0050.00216.91
8.0.80.0140.00716.86
8.0.70.0080.00016.96
8.0.60.0040.00416.83
8.0.50.0000.00716.85
8.0.30.0110.00716.97
8.0.20.0080.01117.18
8.0.10.0050.00216.82
8.0.00.0080.01116.87
7.4.330.0000.00512.88
7.4.320.0030.00316.49
7.4.300.0000.00616.43
7.4.290.0060.00016.42
7.4.280.0000.00916.46
7.4.270.0000.00716.52
7.4.260.0080.00013.22
7.4.250.0060.00316.45
7.4.240.0000.00716.46
7.4.230.0040.00416.29
7.4.220.0160.00616.29
7.4.210.0070.00916.55
7.4.200.0040.00416.61
7.4.190.0070.00016.63
7.4.160.0110.00716.48
7.4.150.0110.00616.41
7.4.140.0090.00816.48
7.4.130.0100.01116.42
7.4.120.0100.00716.34
7.4.110.0130.00416.57
7.4.100.0070.01016.46
7.4.90.0110.00716.50
7.4.80.0100.01319.39
7.4.70.0070.01116.38
7.4.60.0070.01016.43
7.4.50.0100.00316.52
7.4.40.0000.01816.28
7.4.30.0130.01016.47
7.4.00.0110.00414.95
7.3.330.0030.00313.34
7.3.320.0030.00313.27
7.3.310.0000.00716.18
7.3.300.0000.00716.15
7.3.290.0090.00616.33
7.3.280.0100.00716.25
7.3.270.0100.00716.30
7.3.260.0090.00816.52
7.3.250.0060.01116.39
7.3.240.0070.01016.30
7.3.230.0000.01716.57
7.3.210.0030.01716.47
7.3.200.0100.00716.51
7.3.190.0150.00616.60
7.3.180.0030.01216.23
7.3.170.0080.00816.50
7.3.160.0040.01116.45
7.3.120.0000.01314.68
7.2.330.0090.00916.32
7.2.320.0120.01316.34
7.2.310.0100.01316.55
7.2.300.0040.01516.57
7.2.290.0130.00916.32
7.2.60.0070.00016.57
7.2.00.0030.00919.21
7.1.200.0030.00815.62
7.1.100.0040.00818.07
7.1.70.0030.00517.20
7.1.60.0000.01119.40
7.1.50.0040.00716.93
7.1.00.0030.06722.54
7.0.200.0040.00416.68
7.0.140.0070.07022.07
7.0.120.0000.07721.96
7.0.60.0100.05319.98
7.0.50.0070.03717.84
7.0.40.0130.08320.30
7.0.30.0230.04020.32
7.0.20.0300.05320.12
7.0.10.0200.03720.33
7.0.00.0030.05720.19
5.6.210.0130.07720.51
5.6.200.0000.04718.15
5.6.190.0000.05720.47
5.6.180.0300.04720.68
5.6.170.0130.04320.39
5.6.160.0000.06020.51
5.6.150.0070.07318.16
5.6.140.0070.05018.12
5.6.130.0030.05718.18
5.6.120.0130.07021.10
5.6.110.0030.09320.89
5.6.100.0170.07320.98
5.6.90.0070.07720.88
5.6.80.0200.07320.38
5.6.70.0330.08020.48
5.5.350.0300.06720.39
5.5.340.0070.08718.02
5.5.330.0070.07020.34
5.5.320.0230.08020.47
5.5.310.0270.07720.30
5.5.300.0100.04018.08
5.5.290.0030.08317.98
5.5.280.0100.09320.81
5.5.270.0170.04320.96
5.5.260.0070.08720.77
5.5.250.0030.04020.63
5.5.240.0030.08020.01
5.4.450.0230.06719.47
5.4.440.0130.06719.57
5.4.430.0130.04319.41
5.4.420.0300.03019.41
5.4.410.0400.06319.41
5.4.400.0270.03018.99
5.4.390.0300.05018.87
5.4.380.0200.04019.13
5.4.370.0270.03719.26
5.4.360.0300.03019.09
5.4.350.0270.04719.07
5.4.340.0300.05718.94
5.4.320.0370.06019.16
5.4.310.0330.03318.84
5.4.300.0300.03318.99
5.4.290.0330.05319.25
5.4.280.0330.05019.24
5.4.270.0270.04019.25
5.4.260.0230.03719.07
5.4.250.0300.06719.17
5.4.240.0300.05719.08
5.4.230.0230.07718.98
5.4.220.0330.07019.07
5.4.210.0300.04718.96
5.4.200.0230.04319.16
5.4.190.0300.03719.05
5.4.180.0230.04018.86
5.4.170.0230.05318.93
5.4.160.0300.07319.21
5.4.150.0300.07319.28
5.4.140.0230.04016.55
5.4.130.0300.05716.43
5.4.120.0370.06016.41
5.4.110.0270.04716.41
5.4.100.0270.06716.50
5.4.90.0300.04016.58
5.4.80.0300.06016.48
5.4.70.0270.04316.54
5.4.60.0270.04016.23
5.4.50.0270.05016.27
5.4.40.0300.06716.50
5.4.30.0430.03016.22
5.4.20.0270.06716.24
5.4.10.0370.06316.25
5.4.00.0270.04315.79
5.3.290.0270.04714.89
5.3.280.0230.03714.65
5.3.270.0300.07714.70
5.3.260.0300.06714.87
5.3.250.0300.04014.68
5.3.240.0200.04314.66
5.3.230.0230.04014.80
5.3.220.0230.06314.62
5.3.210.0300.05314.63
5.3.200.0300.07714.74
5.3.190.0300.05014.63
5.3.180.0270.04014.80
5.3.170.0430.06314.73
5.3.160.0370.04714.72
5.3.150.0230.04314.62
5.3.140.0270.07714.71
5.3.130.0370.06314.64
5.3.120.0270.03714.65
5.3.110.0300.03314.61
5.3.100.0370.06014.11
5.3.90.0270.06714.08
5.3.80.0230.04314.08
5.3.70.0230.07314.28
5.3.60.0270.04314.09
5.3.50.0200.04314.05
5.3.40.0270.06014.13
5.3.30.0270.07014.09
5.3.20.0230.04713.96
5.3.10.0300.03313.78
5.3.00.0270.06713.71
5.2.170.0200.05711.34
5.2.160.0330.04311.20
5.2.150.0200.06311.19
5.2.140.0170.04711.40
5.2.130.0200.03311.36
5.2.120.0230.06011.31
5.2.110.0230.03311.15
5.2.100.0300.05711.16
5.2.90.0230.03011.11
5.2.80.0200.05011.16
5.2.70.0200.04011.08
5.2.60.0230.03311.11
5.2.50.0270.04311.18
5.2.40.0130.03311.19
5.2.30.0130.03011.07
5.2.20.0170.02711.00
5.2.10.0170.02710.92
5.2.00.0200.04310.78
5.1.60.0200.02310.20
5.1.50.0170.02310.07
5.1.40.0130.03010.19
5.1.30.0130.03010.41
5.1.20.0230.02310.52
5.1.10.0130.02710.11
5.1.00.0100.03010.14
5.0.50.0030.0238.75
5.0.40.0100.0378.65
5.0.30.0100.0578.41
5.0.20.0070.0208.41
5.0.10.0070.0208.41
5.0.00.0130.0278.41
4.4.90.0100.0138.41
4.4.80.0070.0138.41
4.4.70.0070.0408.41
4.4.60.0100.0138.41
4.4.50.0070.0338.41
4.4.40.0030.0308.41
4.4.30.0130.0278.41
4.4.20.0070.0208.41
4.4.10.0070.0178.41
4.4.00.0070.0278.41
4.3.110.0030.0178.41
4.3.100.0100.0108.41
4.3.90.0030.0208.41
4.3.80.0070.0238.41
4.3.70.0030.0208.41
4.3.60.0030.0178.41
4.3.50.0100.0238.41
4.3.40.0070.0278.41
4.3.30.0070.0178.41
4.3.20.0030.0178.41
4.3.10.0000.0178.41
4.3.00.0000.0208.41

preferences:
45.52 ms | 401 KiB | 5 Q