3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CI_Controller { public function __construct() { echo "CI_Controller constructor\n"; } } class Enforcement extends CI_Controller { function __construct() { echo "Enforcement constructor\n"; parent::__construct(); $this->_validate(); } private static function _validate() { echo "validated\n"; } } new Enforcement;

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.0040.01516.38
8.3.50.0090.00618.17
8.3.40.0100.01018.70
8.3.30.0070.00718.59
8.3.20.0040.00420.31
8.3.10.0040.00421.71
8.3.00.0040.00419.20
8.2.180.0100.00716.32
8.2.170.0130.00718.96
8.2.160.0130.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00420.31
8.2.120.0040.00426.35
8.2.110.0030.00722.08
8.2.100.0030.00917.66
8.2.90.0040.00417.84
8.2.80.0040.00419.27
8.2.70.0030.00517.48
8.2.60.0060.00317.50
8.2.50.0060.00317.43
8.2.40.0040.00419.94
8.2.30.0000.00719.00
8.2.20.0040.00417.81
8.2.10.0070.00017.99
8.2.00.0000.00717.99
8.1.280.0100.00325.92
8.1.270.0040.00422.07
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0070.00422.42
8.1.230.0070.00422.14
8.1.220.0070.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.11
8.1.180.0040.00418.10
8.1.170.0050.00317.62
8.1.160.0000.00718.79
8.1.150.0000.00820.11
8.1.140.0040.00417.22
8.1.130.0030.00318.93
8.1.120.0000.00717.32
8.1.110.0030.00617.21
8.1.100.0040.00417.35
8.1.90.0070.00017.30
8.1.80.0050.00217.33
8.1.70.0000.00817.30
8.1.60.0070.00017.40
8.1.50.0000.00817.38
8.1.40.0070.00017.48
8.1.30.0000.00817.54
8.1.20.0030.00617.55
8.1.10.0030.00517.39
8.1.00.0000.00817.43
8.0.300.0000.00719.91
8.0.290.0020.00516.58
8.0.280.0030.00318.35
8.0.270.0000.00716.84
8.0.260.0060.00319.04
8.0.250.0030.00616.79
8.0.240.0030.00316.73
8.0.230.0080.00316.77
8.0.220.0070.00016.67
8.0.210.0000.00716.72
8.0.200.0000.00716.69
8.0.190.0000.00816.84
8.0.180.0040.00416.77
8.0.170.0040.00416.78
8.0.160.0040.00416.82
8.0.150.0040.00416.66
8.0.140.0000.00816.77
8.0.130.0000.00613.12
8.0.120.0060.00316.71
8.0.110.0000.00716.74
8.0.100.0040.00416.79
8.0.90.0080.00016.79
8.0.80.0040.01116.80
8.0.70.0000.00716.71
8.0.60.0030.00516.74
8.0.50.0000.00716.71
8.0.30.0090.01016.92
8.0.20.0090.01017.40
8.0.10.0050.00216.91
8.0.00.0040.01416.55
7.4.330.0030.00415.55
7.4.320.0000.00816.35
7.4.300.0000.00716.44
7.4.290.0050.00316.36
7.4.280.0080.00016.40
7.4.270.0050.00216.44
7.4.260.0050.00013.18
7.4.250.0000.00716.49
7.4.240.0030.00316.49
7.4.230.0050.00216.52
7.4.220.0120.01316.34
7.4.210.0090.00616.47
7.4.200.0050.00316.45
7.4.160.0120.00616.47
7.4.150.0070.01017.40
7.4.140.0090.01217.86
7.4.130.0150.00916.41
7.4.120.0080.01116.39
7.4.110.0090.00916.50
7.4.100.0120.00416.47
7.4.90.0060.01116.34
7.4.80.0100.01019.39
7.4.70.0090.00916.35
7.4.60.0070.01016.49
7.4.50.0040.01116.46
7.4.40.0110.00716.40
7.4.30.0050.01016.48
7.4.00.0140.00014.77
7.3.330.0000.00512.96
7.3.320.0060.00013.09
7.3.310.0030.00316.27
7.3.300.0030.00316.10
7.3.290.0070.00016.14
7.3.280.0080.01016.19
7.3.270.0040.01217.40
7.3.260.0140.00616.35
7.3.240.0090.00716.30
7.3.230.0100.00716.43
7.3.210.0070.01016.20
7.3.200.0060.01016.56
7.3.190.0120.00916.27
7.3.180.0030.01216.21
7.3.170.0060.01016.35
7.3.160.0090.01216.39
7.3.10.0110.00815.87
7.3.00.0220.00216.54
7.2.330.0070.01016.32
7.2.320.0090.01216.41
7.2.310.0130.00316.61
7.2.300.0120.00616.66
7.2.290.0070.01016.41
7.2.130.0150.00915.95
7.2.120.0070.00916.27
7.2.110.0180.00416.23
7.2.100.0190.00616.33
7.2.90.0170.01116.80
7.2.80.0090.00915.97
7.2.70.0160.00616.53
7.2.60.0090.00816.40
7.2.50.0090.00916.45
7.2.40.0080.01516.64
7.2.30.0110.01116.41
7.2.20.0180.00616.55
7.2.10.0110.00716.22
7.2.00.0190.00016.85
7.1.250.0190.00915.50
7.1.200.0160.01315.43
7.1.70.0040.01116.73
7.1.60.0030.00717.21
7.1.40.0130.01034.21
7.1.30.0170.00734.36
7.1.20.0200.00334.29
7.1.10.0030.01716.09
7.1.00.0000.01016.34
7.0.200.0030.01316.73
7.0.180.0030.00716.19
7.0.170.0030.00716.07
7.0.160.0000.01016.00
7.0.150.0070.01016.07
7.0.140.0070.00316.11
7.0.130.0030.00716.41
7.0.120.0030.00716.23
7.0.110.0070.00715.88
7.0.100.0570.00714.35
7.0.90.0530.00714.30
7.0.80.0070.00315.93
7.0.70.0000.01016.07
7.0.60.0030.00715.71
7.0.50.0600.01014.29
7.0.40.0000.01016.17
7.0.30.0030.00716.18
7.0.20.0030.00716.11
7.0.10.0830.01014.34
7.0.00.0870.00716.33

preferences:
55.98 ms | 400 KiB | 5 Q