3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server = new SoapServer(null,array('uri'=>'localhost')); $server->setClass('MyClass'); $server->handle(); // a class that creates a soap client within the server class MyClass { public function Make($something) { $client = new SoapClient('http://somewhere.com/soap.wsdl'); return new SoapFault('Validation','bogus'); } } // -- another file -- an originating client try { $clientA = new soapClient('http://localhost/soap.php'); } catch (SoapFault $e) { echo $e->faultstring; // error occurs here. wrong error message => expected "bogus" }

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.0140.00718.43
8.3.50.0120.00721.98
8.3.40.0150.00018.63
8.3.30.0090.00619.04
8.3.20.0040.00420.30
8.3.10.0040.00421.96
8.3.00.0080.00022.23
8.2.180.0060.01216.63
8.2.170.0140.00022.96
8.2.160.0100.01019.04
8.2.150.0040.00424.18
8.2.140.0080.00424.66
8.2.130.0140.00426.16
8.2.120.0080.00019.23
8.2.110.0060.00322.07
8.2.100.0120.00019.45
8.2.90.0040.00419.11
8.2.80.0040.00417.97
8.2.70.0030.00617.61
8.2.60.0080.00017.92
8.2.50.0040.00418.07
8.2.40.0060.00319.82
8.2.30.0000.00718.06
8.2.20.0040.00417.67
8.2.10.0000.00717.73
8.2.00.0080.00017.71
8.1.280.0120.00325.92
8.1.270.0030.00621.84
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0050.00524.01
8.1.230.0080.00319.07
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0000.00917.23
8.1.190.0040.00417.41
8.1.180.0080.00018.57
8.1.170.0090.00018.45
8.1.160.0050.00222.07
8.1.150.0040.00418.38
8.1.140.0070.00317.32
8.1.130.0070.00017.60
8.1.120.0050.00317.34
8.1.110.0000.00917.22
8.1.100.0040.00317.21
8.1.90.0070.00017.32
8.1.80.0000.00717.32
8.1.70.0000.00717.33
8.1.60.0040.00417.49
8.1.50.0040.00417.45
8.1.40.0000.00817.41
8.1.30.0040.00417.50
8.1.20.0000.00817.64
8.1.10.0080.00017.46
8.1.00.0060.00317.46
8.0.300.0040.00418.77
8.0.290.0040.00417.05
8.0.280.0030.00318.30
8.0.270.0000.00717.26
8.0.260.0000.00716.74
8.0.250.0070.00017.02
8.0.240.0050.00216.96
8.0.230.0050.00316.92
8.0.220.0030.00316.89
8.0.210.0000.00716.75
8.0.200.0000.00616.84
8.0.190.0060.00316.99
8.0.180.0030.00516.79
8.0.170.0000.00816.89
8.0.160.0000.00716.93
8.0.150.0040.00416.79
8.0.140.0030.00316.74
8.0.130.0030.00313.27
8.0.120.0110.00016.88
8.0.110.0000.00716.81
8.0.100.0000.00716.82
8.0.90.0030.00316.93
8.0.80.0060.01016.91
8.0.70.0000.00716.96
8.0.60.0000.00716.69
8.0.50.0040.00416.95
8.0.30.0100.00817.04
8.0.20.0160.00517.40
8.0.10.0040.00416.99
8.0.00.0110.00916.70
7.4.330.0050.00015.00
7.4.320.0040.00416.37
7.4.300.0000.00616.54
7.4.290.0070.00016.57
7.4.280.0070.00016.29
7.4.270.0030.00316.57
7.4.260.0030.00316.52
7.4.250.0050.00316.33
7.4.240.0040.00316.53
7.4.230.0000.00716.54
7.4.220.0110.01116.48
7.4.210.0110.00516.50
7.4.200.0070.00016.39
7.4.190.0030.00316.46
7.4.160.0040.01116.37
7.4.150.0030.01417.40
7.4.140.0100.00817.86
7.4.130.0110.01016.48
7.4.120.0140.00316.48
7.4.110.0070.01716.26
7.4.100.0070.01016.37
7.4.90.0110.00916.52
7.4.80.0100.00719.39
7.4.70.0060.01216.57
7.4.60.0100.00616.37
7.4.50.0030.00316.12
7.4.40.0100.00722.77
7.4.30.0130.00416.37
7.4.00.0060.00614.91
7.3.330.0000.00513.12
7.3.320.0020.00213.28
7.3.310.0030.00516.32
7.3.300.0070.00016.18
7.3.290.0090.00616.27
7.3.280.0110.00516.29
7.3.270.0100.00617.40
7.3.260.0110.01416.41
7.3.250.0110.00516.45
7.3.240.0120.00616.58
7.3.230.0090.00816.39
7.3.210.0070.01316.62
7.3.200.0130.00719.39
7.3.190.0130.00616.50
7.3.180.0090.00616.23
7.3.170.0120.00416.46
7.3.160.0030.01416.32
7.3.120.0040.01114.66
7.2.330.0090.00716.52
7.2.320.0140.00316.57
7.2.310.0110.01016.29
7.2.300.0130.00316.26
7.2.290.0090.00616.34
7.2.60.0100.00316.57
7.2.00.0000.01419.02
7.1.200.0030.00715.68
7.1.70.0040.00416.88
7.1.60.0000.01217.25
7.1.50.0070.00416.53
7.1.00.0030.07022.46
7.0.200.0000.00816.39
7.0.140.0070.07022.09
7.0.60.0070.04019.90
7.0.50.0030.04017.98
7.0.40.0030.05020.32
7.0.30.0230.04720.34
7.0.20.0330.04720.15
7.0.10.0070.08320.20
7.0.00.0070.08320.23
5.6.280.0070.07020.91
5.6.210.0130.07720.65
5.6.200.0030.04318.25
5.6.190.0130.03720.46
5.6.180.0330.07720.43
5.6.170.0200.08320.45
5.6.160.0200.07320.50
5.6.150.0030.06718.30
5.6.140.0000.09018.18
5.6.130.0030.05318.18
5.6.120.0100.05021.05
5.6.110.0030.04721.02
5.6.100.0070.06021.01
5.6.90.0070.08720.96
5.6.80.0070.06720.39
5.6.70.4030.03720.52
5.5.350.0070.06320.35
5.5.340.0130.06318.02
5.5.330.0130.08320.37
5.5.320.0400.07320.34
5.5.310.0230.04720.36
5.5.300.0100.05018.08
5.5.290.0070.04017.95
5.5.280.0070.08320.78
5.5.270.0070.04720.76
5.5.260.0000.08720.96
5.5.250.0130.05020.62
5.5.240.0270.03020.15
5.4.450.0070.06019.58
5.4.440.0600.05319.70
5.4.430.0000.06319.47
5.4.420.0700.07319.20
5.4.410.0100.05718.96
5.4.400.0770.00018.75
5.4.390.1000.00018.62
5.4.380.0330.06318.79
5.4.370.0330.04018.59
5.4.360.0270.05018.72
5.4.350.0330.05718.72
5.4.340.0230.05318.74
5.4.320.0080.03512.75
5.4.310.0050.04212.75
5.4.300.0060.04012.75
5.4.290.0100.03812.74
5.4.280.0050.03812.64
5.4.270.0060.04012.64
5.4.260.0000.06018.76
5.4.250.0100.06718.98
5.4.240.0100.05018.90
5.4.230.0070.08019.01
5.4.220.0030.06718.95
5.4.210.0030.06018.92
5.4.200.0100.05018.82
5.4.190.0030.06318.95
5.4.180.0100.07318.79
5.4.170.0100.07318.89
5.4.160.0070.07318.88
5.4.150.0030.05718.99
5.4.140.0100.04716.39
5.4.130.0030.05016.44
5.4.120.0000.07016.58
5.4.110.0070.05016.61
5.4.100.0000.05316.63
5.4.90.0030.05016.50
5.4.80.0030.05316.34
5.4.70.0100.07016.51
5.4.60.0170.04016.34
5.4.50.0000.08016.34
5.4.40.0230.05316.54
5.4.30.0100.05316.57
5.4.20.0070.05016.45
5.4.10.0030.05316.57
5.4.00.0070.06316.03
5.3.290.0090.03912.93
5.3.280.0100.05014.86
5.3.270.0030.05714.87
5.3.260.0200.05315.00
5.3.250.0100.05014.83
5.3.240.0070.05014.96
5.3.230.0030.05314.86
5.3.220.0070.05014.91
5.3.210.0100.05714.82
5.3.200.0100.07714.71
5.3.190.0100.04714.85
5.3.180.0000.06014.93
5.3.170.0200.05714.87
5.3.160.0070.05314.82
5.3.150.0170.06714.90
5.3.140.0170.06714.82
5.3.130.0170.06714.81
5.3.120.0100.07714.69
5.3.110.0100.05314.80
5.3.100.0170.04314.39
5.3.90.0130.04314.36
5.3.80.0100.06714.19
5.3.70.0130.07014.11
5.3.60.0000.05714.18
5.3.50.0100.04714.20
5.3.40.0070.05314.20
5.3.30.0130.04314.17
5.3.20.0030.05313.79
5.3.10.0170.05013.88
5.3.00.0100.04713.84
5.2.170.0070.04011.31
5.2.160.0130.03311.31
5.2.150.0100.04311.32
5.2.140.0070.04011.31
5.2.130.0070.04311.40
5.2.120.0100.03711.26
5.2.110.0130.04711.11
5.2.100.0070.03711.26
5.2.90.0030.04011.07
5.2.80.0000.04311.22
5.2.70.0030.04311.27
5.2.60.0100.04011.21
5.2.50.0070.04011.18
5.2.40.0000.05011.13
5.2.30.0030.04311.03
5.2.20.0000.04711.16
5.2.10.0070.03711.02
5.2.00.0000.04010.93
5.1.60.0030.03310.16
5.1.50.0000.03710.05
5.1.40.0030.03310.29
5.1.30.0000.05310.50
5.1.20.0070.03310.40
5.1.10.0000.03710.11
5.1.00.0100.03010.18
5.0.50.0100.0278.52
5.0.40.0000.0308.47
5.0.30.0030.0408.29
5.0.20.0070.0338.16
5.0.10.0100.0208.23
5.0.00.0000.0438.20
4.4.90.0000.0236.12
4.4.80.0100.0236.12
4.4.70.0030.0206.12
4.4.60.0070.0176.12
4.4.50.0000.0236.12
4.4.40.0000.0336.12
4.4.30.0070.0276.12
4.4.20.0000.0236.12
4.4.10.0000.0336.12
4.4.00.0070.0276.12
4.3.110.0030.0276.12
4.3.100.0030.0206.12
4.3.90.0100.0236.12
4.3.80.0100.0236.12
4.3.70.0030.0206.12
4.3.60.0000.0236.12
4.3.50.0030.0206.12
4.3.40.0030.0306.12
4.3.30.0030.0206.12
4.3.20.0000.0236.12
4.3.10.0030.0206.12
4.3.00.0300.0207.18

preferences:
45.24 ms | 401 KiB | 5 Q