3v4l.org

run code in 300+ PHP versions simultaneously
<?php class father { protected $name; function __construct($name){ $this -> name = $name; } function __destruct(){ echo "<p>".$this ->name."what the ca </p>"; } } $father = new father(father);

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.00316.48
8.3.50.0150.00321.15
8.3.40.0060.01218.82
8.3.30.0110.00718.80
8.3.20.0070.00020.52
8.3.10.0050.00221.82
8.3.00.0030.00523.53
8.2.180.0170.00316.50
8.2.170.0140.00722.96
8.2.160.0100.00720.21
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00020.98
8.2.120.0040.00426.35
8.2.110.0040.00419.30
8.2.100.0070.00417.93
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0060.00317.38
8.2.60.0040.00417.93
8.2.50.0060.00318.09
8.2.40.0040.00422.27
8.2.30.0030.00319.30
8.2.20.0080.00017.61
8.2.10.0040.00418.06
8.2.00.0000.00717.96
8.1.280.0030.01725.92
8.1.270.0080.01222.24
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00322.22
8.1.230.0090.00317.76
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.01317.36
8.1.190.0040.00417.23
8.1.180.0090.00018.10
8.1.170.0080.00518.41
8.1.160.0050.00320.61
8.1.150.0000.00818.81
8.1.140.0030.00519.39
8.1.130.0000.00717.68
8.1.120.0000.00717.29
8.1.110.0080.00017.31
8.1.100.0040.00417.29
8.1.90.0000.00717.28
8.1.80.0050.00217.30
8.1.70.0030.00317.39
8.1.60.0040.00417.50
8.1.50.0060.00317.43
8.1.40.0030.00617.44
8.1.30.0040.00417.53
8.1.20.0030.00517.59
8.1.10.0020.00517.52
8.1.00.0050.00317.30
8.0.300.0030.00618.77
8.0.290.0070.00016.75
8.0.280.0070.00018.48
8.0.270.0030.00317.29
8.0.260.0040.00418.44
8.0.250.0030.00316.95
8.0.240.0030.00316.99
8.0.230.0070.00017.07
8.0.220.0060.00316.82
8.0.210.0000.00816.94
8.0.200.0030.00316.99
8.0.190.0050.00217.07
8.0.180.0040.00416.96
8.0.170.0040.00417.02
8.0.160.0000.00717.02
8.0.150.0050.00216.88
8.0.140.0000.00716.84
8.0.130.0000.00513.35
8.0.120.0040.00416.92
8.0.110.0040.00416.92
8.0.100.0000.00816.85
8.0.90.0000.00716.80
8.0.80.0070.01016.99
8.0.70.0000.00816.96
8.0.60.0020.00516.85
8.0.50.0030.00516.90
8.0.30.0100.00717.09
8.0.20.0090.01417.40
8.0.10.0040.00417.03
8.0.00.0130.00516.69
7.4.330.0050.00016.79
7.4.320.0060.00016.42
7.4.300.0030.00316.40
7.4.290.0000.00916.61
7.4.280.0080.00016.46
7.4.270.0000.00716.55
7.4.260.0000.00716.56
7.4.250.0000.00816.38
7.4.240.0030.00316.41
7.4.230.0000.00716.67
7.4.220.0090.00916.38
7.4.210.0080.00816.63
7.4.200.0030.00516.41
7.4.160.0080.00816.63
7.4.150.0130.00317.40
7.4.140.0060.01717.86
7.4.130.0090.00816.61
7.4.120.0130.00516.36
7.4.110.0090.00616.34
7.4.100.0140.00516.52
7.4.90.0100.00616.60
7.4.80.0140.00319.39
7.4.70.0090.00616.50
7.4.60.0040.01116.48
7.4.50.0000.01516.19
7.4.40.0120.00816.60
7.4.30.0070.01016.46
7.4.00.0030.01315.13
7.3.330.0060.00013.28
7.3.320.0030.00313.22
7.3.310.0090.00016.35
7.3.300.0000.00816.25
7.3.290.0050.00216.21
7.3.280.0080.01016.36
7.3.270.0130.01017.40
7.3.260.0120.00616.45
7.3.250.0130.00716.39
7.3.240.0090.00816.54
7.3.230.0110.00616.39
7.3.210.0130.00416.22
7.3.200.0040.01616.35
7.3.190.0160.00716.52
7.3.180.0060.00916.43
7.3.170.0060.01116.53
7.3.160.0060.01016.58
7.3.120.0030.01314.95
7.3.110.0140.00014.84
7.3.100.0000.00914.74
7.3.90.0080.00614.92
7.3.80.0040.00814.84
7.3.70.0070.01014.83
7.3.60.0100.00014.91
7.3.50.0070.01014.91
7.3.40.0030.00714.66
7.3.30.0050.00414.70
7.3.20.0060.01016.74
7.3.10.0080.00616.63
7.3.00.0050.00716.24
7.2.330.0120.00616.80
7.2.320.0120.00616.59
7.2.310.0090.00616.63
7.2.300.0120.00916.73
7.2.290.0040.01316.51
7.2.240.0060.00614.83
7.2.230.0030.00715.07
7.2.220.0030.00714.94
7.2.210.0060.00914.78
7.2.200.0060.00914.93
7.2.190.0090.00315.15
7.2.180.0030.00715.07
7.2.170.0040.00815.02
7.2.160.0030.01314.76
7.2.150.0040.00716.88
7.2.140.0040.01116.86
7.2.130.0050.01016.74
7.2.120.0070.00716.86
7.2.110.0070.00816.84
7.2.100.0090.00616.84
7.2.90.0050.00816.84
7.2.80.0050.01016.97
7.2.70.0100.00616.87
7.2.60.0070.00716.76
7.2.50.0100.00516.89
7.2.40.0050.00716.88
7.2.30.0050.00516.85
7.2.20.0060.01117.09
7.2.10.0060.00816.78
7.2.00.0050.00717.92
7.1.330.0000.00815.61
7.1.320.0060.00615.73
7.1.310.0050.00815.78
7.1.300.0000.01715.96
7.1.290.0040.00815.60
7.1.280.0030.01015.73
7.1.270.0100.00315.81
7.1.260.0040.00415.93
7.1.250.0100.00315.49
7.1.200.0070.00715.66
7.1.100.0000.01018.23
7.1.70.0000.00916.86
7.1.60.0040.01419.40
7.1.50.0090.01216.51
7.1.00.0100.06722.36
7.0.200.0720.01014.47
7.0.60.0170.08321.83
7.0.50.0030.08717.84
7.0.40.0070.05720.39
7.0.30.0230.03320.08
7.0.20.0300.07320.24
7.0.10.0000.06320.10
7.0.00.0070.05720.32
5.6.280.0030.06021.12
5.6.210.0030.07020.51
5.6.200.0070.08018.18
5.6.190.0070.07320.57
5.6.180.0300.07020.47
5.6.170.0430.07320.55
5.6.160.0130.07720.50
5.6.150.0170.07318.19
5.6.140.0070.04718.12
5.6.130.0000.04318.19
5.6.120.0070.06020.99
5.6.110.0070.08021.01
5.6.100.0100.03321.01
5.6.90.0070.08320.99
5.6.80.0030.04020.41
5.5.350.0330.07320.32
5.5.340.0000.04018.06
5.5.330.0100.07320.13
5.5.320.0130.04320.31
5.5.310.0230.08320.29
5.5.300.0100.08017.98
5.5.290.0100.07017.95
5.5.280.0130.04320.90
5.5.270.0000.04320.68
5.5.260.0100.05720.68
5.5.250.0030.08320.59
5.5.240.0200.07720.13

preferences:
31.94 ms | 401 KiB | 5 Q