3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Axel { public $test; public function __construct($url){ $this->test = $url; } public function getTest(){ return $this->test; } } $t = new Axel('www.axelv13.com'); for($i = 0; $i >= 0; $i++){ echo $t->getTest(); }

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.0100.01316.50
8.3.50.0110.00922.02
8.3.40.0170.00718.71
8.3.30.0090.00919.04
8.3.20.0060.00320.39
8.3.10.0030.00623.53
8.3.00.0090.00020.58
8.2.180.0130.00716.38
8.2.170.0140.00322.96
8.2.160.0130.00322.13
8.2.150.0090.00024.18
8.2.140.0030.00624.66
8.2.130.0030.00626.16
8.2.120.0060.00322.27
8.2.110.0040.00721.97
8.2.100.0140.00017.91
8.2.90.0040.00419.19
8.2.80.0060.00317.97
8.2.70.0030.00717.38
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0030.00718.07
8.2.30.0090.00018.01
8.2.20.0030.00517.66
8.2.10.0060.00319.63
8.2.00.0040.00417.75
8.1.280.0180.00325.92
8.1.270.0060.00323.83
8.1.260.0090.00026.35
8.1.250.0090.00028.09
8.1.240.0110.00024.02
8.1.230.0070.00719.03
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0080.00417.23
8.1.190.0000.00817.41
8.1.180.0050.00318.10
8.1.170.0060.00318.51
8.1.160.0090.00322.04
8.1.150.0040.00418.51
8.1.140.0000.00717.32
8.1.130.0070.00017.88
8.1.120.0040.00417.51
8.1.110.0030.00917.45
8.1.100.0080.00017.40
8.1.90.0080.00017.53
8.1.80.0080.00017.49
8.1.70.0060.00317.36
8.1.60.0040.00917.70
8.1.50.0030.00717.55
8.1.40.0040.00417.61
8.1.30.0050.00317.51
8.1.20.0030.00517.62
8.1.10.0080.00017.49
8.1.00.0000.00917.62
8.0.300.0070.00018.77
8.0.290.0000.00717.05
8.0.280.0040.00418.47
8.0.270.0070.00017.13
8.0.260.0070.00016.66
8.0.250.0000.00816.91
8.0.240.0040.00416.85
8.0.230.0000.00816.72
8.0.220.0050.00316.75
8.0.210.0040.00416.66
8.0.200.0030.00316.72
8.0.190.0040.00416.89
8.0.180.0050.00316.68
8.0.170.0060.00316.79
8.0.160.0040.00416.64
8.0.150.0100.00016.75
8.0.140.0040.00416.66
8.0.130.0000.00713.23
8.0.120.0040.00416.72
8.0.110.0040.00416.66
8.0.100.0060.00316.71
8.0.90.0040.00416.74
8.0.80.0150.02216.71
8.0.70.0050.00316.64
8.0.60.0080.00016.80
8.0.50.0050.00316.59
8.0.30.0170.00916.95
8.0.20.0140.01317.40
8.0.10.0000.00916.71
8.0.00.0170.01316.65
7.4.330.0030.00315.00
7.4.320.0040.00416.30
7.4.300.0050.00316.42
7.4.290.0040.00816.30
7.4.280.0050.00316.42
7.4.270.0030.00516.40
7.4.260.0030.00616.30
7.4.250.0040.00416.45
7.4.240.0050.00316.37
7.4.230.0000.00816.54
7.4.220.0270.01716.53
7.4.210.0140.00616.47
7.4.200.0030.00516.36
7.4.190.0040.00416.54
7.4.160.0290.01116.48
7.4.150.0250.00717.40
7.4.140.0250.00617.86
7.4.130.0130.01316.52
7.4.120.0130.01416.34
7.4.110.0190.00616.56
7.4.100.0440.01216.39
7.4.90.0100.01716.55
7.4.80.0100.01016.57
7.4.70.0180.01116.39
7.4.60.0070.01816.38
7.4.50.0030.00716.34
7.4.40.0070.01322.77
7.4.30.0060.01816.42
7.4.00.0130.00714.69
7.3.330.0070.00013.31
7.3.320.0030.00313.31
7.3.310.0050.00316.15
7.3.300.0040.00416.14
7.3.290.0120.00916.24
7.3.280.0100.01416.21
7.3.270.0280.00617.40
7.3.260.0200.01016.35
7.3.250.0130.01716.32
7.3.240.0140.01116.43
7.3.230.0190.01016.39
7.3.210.0150.01216.36
7.3.200.0090.01619.39
7.3.190.0090.01316.31
7.3.180.0190.01316.18
7.3.170.0150.01216.52
7.3.160.0180.00816.41
7.3.120.0080.00814.66
7.2.330.0130.01616.80
7.2.320.0150.01016.57
7.2.310.0150.00616.48
7.2.300.0220.00616.72
7.2.290.0130.01016.65
7.1.70.0100.00317.13
7.1.60.0100.01719.27
7.1.50.0110.01416.97
7.0.200.0090.00316.84

preferences:
37.92 ms | 401 KiB | 5 Q