3v4l.org

run code in 300+ PHP versions simultaneously
<?php class target { public function startCrawler() { echo 'crawler state'; } } class adapter { private $class = ''; public function __construct($classname) { self::$class = $classname; } public function __callStatic($method,$args) { echo 'start memory / time tracking'; call_user_func(array(self::$class,$method),$args); echo 'end memory / time tracking'; } } $obj = new adapter('target'); $obj::startCrawler();

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.0110.00716.75
8.3.50.0140.00720.90
8.3.40.0140.00318.68
8.3.30.0110.00318.54
8.3.20.0080.00020.21
8.3.10.0080.00023.68
8.3.00.0090.00019.43
8.2.180.0090.00618.54
8.2.170.0120.00322.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00017.50
8.2.110.0060.00320.57
8.2.100.0070.00418.03
8.2.90.0060.00319.05
8.2.80.0060.00317.97
8.2.70.0000.00817.38
8.2.60.0000.00817.80
8.2.50.0060.00318.07
8.2.40.0050.00219.20
8.2.30.0090.00017.96
8.2.20.0000.00717.56
8.2.10.0040.00417.87
8.2.00.0040.00417.93
8.1.280.0090.00625.92
8.1.270.0090.00020.24
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0000.00823.97
8.1.230.0100.00018.99
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00717.13
8.1.190.0030.00616.97
8.1.180.0000.00818.10
8.1.170.0000.01118.59
8.1.160.0040.00422.05
8.1.150.0070.00018.66
8.1.140.0040.00417.27
8.1.130.0040.00417.66
8.1.120.0040.00417.34
8.1.110.0000.00817.21
8.1.100.0030.00517.24
8.1.90.0000.00717.34
8.1.80.0040.00417.34
8.1.70.0070.00017.35
8.1.60.0000.00917.33
8.1.50.0040.00417.37
8.1.40.0050.00317.42
8.1.30.0050.00317.51
8.1.20.0000.00717.48
8.1.10.0000.00817.43
8.1.00.0050.00317.21
8.0.300.0050.00218.77
8.0.290.0000.00816.63
8.0.280.0030.00318.32
8.0.270.0030.00317.09
8.0.260.0030.00317.18
8.0.250.0040.00416.89
8.0.240.0040.00416.82
8.0.230.0000.00716.94
8.0.220.0030.00316.83
8.0.210.0000.00716.80
8.0.200.0000.00716.85
8.0.190.0040.00416.77
8.0.180.0000.00816.88
8.0.170.0060.00316.70
8.0.160.0000.00716.72
8.0.150.0030.00316.65
8.0.140.0000.00716.85
8.0.130.0000.00613.25
8.0.120.0050.00316.72
8.0.110.0040.00416.67
8.0.100.0040.00416.68
8.0.90.0000.00716.84
8.0.80.0040.01116.77
8.0.70.0070.00016.76
8.0.60.0000.00716.82
8.0.50.0020.00516.84
8.0.30.0080.01016.98
8.0.20.0090.01117.40
8.0.10.0050.00316.99
8.0.00.0090.00816.61
7.4.330.0030.00315.08
7.4.320.0000.00716.37
7.4.300.0000.00616.52
7.4.290.0030.00316.62
7.4.280.0030.00516.45
7.4.270.0030.00316.51
7.4.260.0000.00716.47
7.4.250.0040.00416.52
7.4.240.0030.00316.57
7.4.230.0050.00316.71
7.4.220.0060.01616.71
7.4.210.0080.00616.56
7.4.200.0000.00616.41
7.4.160.0110.00816.43
7.4.150.0090.00917.40
7.4.140.0080.01117.86
7.4.130.0110.00816.55
7.4.120.0130.00516.52
7.4.110.0070.01016.70
7.4.100.0180.00616.46
7.4.90.0150.00316.44
7.4.80.0090.01019.39
7.4.70.0000.01916.49
7.4.60.0060.00916.60
7.4.50.0060.00316.49
7.4.40.0060.01316.39
7.4.30.0100.01416.41
7.4.00.0060.01014.87
7.3.330.0060.00013.29
7.3.320.0020.00213.44
7.3.310.0000.00716.37
7.3.300.0000.00616.38
7.3.290.0030.00316.19
7.3.280.0100.01016.35
7.3.270.0060.01317.40
7.3.260.0070.01016.44
7.3.250.0130.00716.41
7.3.240.0120.00616.32
7.3.230.0060.00916.41
7.3.210.0060.01116.44
7.3.200.0100.00716.35
7.3.190.0070.01016.37
7.3.180.0080.00816.32
7.3.170.0160.00516.41
7.3.160.0110.01116.44
7.3.10.0150.00016.32
7.3.00.0090.00516.32
7.2.330.0030.01516.32
7.2.320.0110.00616.29
7.2.310.0130.00316.74
7.2.300.0090.01516.35
7.2.290.0030.01316.37
7.2.130.0070.01416.35
7.2.120.0150.00716.31
7.2.110.0090.00916.57
7.2.100.0110.01316.53
7.2.90.0090.01016.63
7.2.80.0110.01116.30
7.2.70.0070.01716.42
7.2.60.0180.00816.38
7.2.50.0180.00616.58
7.2.40.0150.01116.28
7.2.30.0230.00315.93
7.2.20.0140.00916.19
7.2.10.0100.01416.51
7.2.00.0110.00918.11
7.1.250.0140.00315.50
7.1.200.0080.00315.39
7.1.70.0070.00316.66
7.1.60.0070.00717.20
7.1.50.0100.01016.86
7.1.00.0100.07022.29
7.0.200.0030.00716.62
7.0.60.0170.07719.84
7.0.50.0130.07317.92
7.0.40.0170.05720.20
7.0.30.0330.06320.20
7.0.20.0270.05020.19
7.0.10.0170.05020.11
7.0.00.0030.08320.20
5.6.280.0030.05721.03
5.6.210.0130.07720.51
5.6.200.0070.03718.18
5.6.190.0000.06720.57
5.6.180.0270.07320.77
5.6.170.0370.07020.44
5.6.160.0070.07020.42
5.6.150.0100.07718.19
5.6.140.0100.07018.15
5.6.130.0030.04318.30
5.6.120.0070.07721.00
5.6.110.0100.08021.02
5.6.100.0100.08021.11
5.6.90.0100.06020.98
5.6.80.0030.08320.41
5.6.70.3770.04320.34
5.5.350.0070.08720.39
5.5.340.0030.04318.07
5.5.330.0070.05320.57
5.5.320.0370.07720.35
5.5.310.0270.05320.20
5.5.300.0030.04317.99
5.5.290.0070.08017.93
5.5.280.0130.03720.84
5.5.270.0100.03720.75
5.5.260.0100.05020.66
5.5.250.0030.08320.71
5.5.240.0270.05320.20
5.4.450.0570.05319.42
5.4.440.0630.06719.23
5.4.430.0670.05019.68
5.4.420.0630.05319.68
5.4.410.0500.05019.13
5.4.400.0670.04718.94
5.4.390.0700.04718.95
5.4.380.0630.05019.26
5.4.370.0530.05319.37
5.4.360.0400.06019.04
5.4.350.0630.04719.05
5.4.340.0600.06019.27
5.4.320.0570.07319.09
5.4.310.0530.06019.06
5.4.300.0470.05719.05
5.4.290.0470.06718.92
5.4.280.0630.05018.93
5.4.270.0530.06319.18
5.4.260.0630.04319.28
5.4.250.0600.05719.15
5.4.240.0570.05318.89
5.4.230.0770.04719.26
5.4.220.0530.06319.27
5.4.210.0670.05318.97
5.4.200.0570.05719.14
5.4.190.0570.04719.04
5.4.180.0570.05319.05
5.4.170.0600.04319.07
5.4.160.0500.06019.24
5.4.150.0370.06318.87
5.4.140.0600.05016.63
5.4.130.0570.05316.35
5.4.120.0470.05716.61
5.4.110.0500.05716.33
5.4.100.0700.04716.52
5.4.90.0770.05716.47
5.4.80.0770.07316.64
5.4.70.0270.03316.29
5.4.60.0270.03716.17
5.4.50.0000.03316.53
5.4.40.0030.05316.34
5.4.30.0030.05716.55
5.4.20.0370.06316.32

preferences:
48.87 ms | 401 KiB | 5 Q