3v4l.org

run code in 300+ PHP versions simultaneously
<?php class target { public static function startCrawler() { echo 'crawler state'; } } abstract class adapter { private static $class = ''; public function __construct($classname) { self::$class = $classname; } public static 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.40.0110.00418.53
8.3.30.0040.01118.70
8.3.20.0070.00020.20
8.3.10.0050.00323.71
8.3.00.0040.00419.69
8.2.170.0030.01022.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0030.00517.50
8.2.110.0060.00319.29
8.2.100.0060.00617.63
8.2.90.0070.00319.05
8.2.80.0050.00317.97
8.2.70.0050.00517.63
8.2.60.0080.00017.68
8.2.50.0030.00518.07
8.2.40.0000.00819.34
8.2.30.0000.01117.93
8.2.20.0050.00317.57
8.2.10.0050.00217.88
8.2.00.0000.00817.87
8.1.270.0030.00522.12
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00320.70
8.1.230.0050.00517.77
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0050.00317.23
8.1.180.0070.00018.10
8.1.170.0030.00518.66
8.1.160.0040.00421.86
8.1.150.0000.00718.77
8.1.140.0000.00817.38
8.1.130.0070.00017.59
8.1.120.0000.00717.41
8.1.110.0000.00717.28
8.1.100.0030.00617.36
8.1.90.0040.00417.38
8.1.80.0040.00417.36
8.1.70.0000.00717.37
8.1.60.0030.00617.46
8.1.50.0060.00317.37
8.1.40.0080.00017.46
8.1.30.0030.00617.44
8.1.20.0050.00217.53
8.1.10.0040.00417.41
8.1.00.0000.00717.42
8.0.300.0050.00318.77
8.0.290.0040.00416.63
8.0.280.0070.00018.39
8.0.270.0070.00017.13
8.0.260.0030.00317.15
8.0.250.0080.00016.94
8.0.240.0000.00816.99
8.0.230.0030.00316.96
8.0.220.0040.00416.89
8.0.210.0040.00416.90
8.0.200.0020.00517.00
8.0.190.0040.00416.99
8.0.180.0000.00816.89
8.0.170.0080.00016.77
8.0.160.0000.00716.90
8.0.150.0070.00016.95
8.0.140.0040.00416.89
8.0.130.0030.00313.29
8.0.120.0000.00816.82
8.0.110.0070.00016.80
8.0.100.0000.00716.80
8.0.90.0000.00816.70
8.0.80.0150.00016.89
8.0.70.0070.00016.92
8.0.60.0080.00016.97
8.0.50.0040.00416.95
8.0.30.0140.00617.05
8.0.20.0110.01217.40
8.0.10.0040.00416.82
8.0.00.0120.00816.75
7.4.330.0020.00215.08
7.4.320.0040.00416.30
7.4.300.0030.00316.36
7.4.290.0050.00316.55
7.4.280.0040.00416.36
7.4.270.0040.00416.37
7.4.260.0030.00516.55
7.4.250.0000.00816.54
7.4.240.0050.00416.45
7.4.230.0070.00016.36
7.4.220.0120.01516.47
7.4.210.0040.01116.51
7.4.200.0030.00316.62
7.4.160.0140.00516.29
7.4.150.0110.00617.40
7.4.140.0170.00517.86
7.4.130.0080.00916.34
7.4.120.0100.00916.49
7.4.110.0040.01416.67
7.4.100.0060.01516.60
7.4.90.0070.01016.39
7.4.80.0080.00819.39
7.4.70.0100.01016.52
7.4.60.0110.00616.32
7.4.50.0000.00916.44
7.4.40.0150.00016.55
7.4.30.0120.00616.50
7.4.00.0080.00914.93
7.3.330.0060.00013.16
7.3.320.0050.00013.38
7.3.310.0070.00016.33
7.3.300.0040.00416.26
7.3.290.0110.00416.31
7.3.280.0060.01416.32
7.3.270.0060.01217.40
7.3.260.0000.01716.24
7.3.250.0100.00916.47
7.3.240.0030.01416.50
7.3.230.0170.00016.39
7.3.210.0030.01316.35
7.3.200.0060.01216.47
7.3.190.0030.01316.48
7.3.180.0150.00016.21
7.3.170.0080.00816.50
7.3.160.0030.01416.52
7.3.120.0040.01514.52
7.3.110.0030.01314.77
7.3.100.0090.00614.50
7.3.90.0090.00614.73
7.3.80.0040.01114.75
7.3.70.0090.00914.57
7.3.60.0070.00714.84
7.3.50.0100.00714.71
7.3.40.0030.01214.78
7.3.30.0070.00714.80
7.3.20.0030.01016.54
7.3.10.0070.01016.59
7.3.00.0040.01116.71
7.2.330.0090.00916.57
7.2.320.0070.01016.22
7.2.310.0100.00616.58
7.2.300.0130.00616.56
7.2.290.0030.01316.60
7.2.250.0060.01214.71
7.2.240.0040.01515.05
7.2.230.0030.01415.12
7.2.220.0070.00714.73
7.2.210.0150.00714.75
7.2.200.0000.00914.84
7.2.190.0040.00814.79
7.2.180.0060.00915.09
7.2.170.0060.01214.89
7.2.80.0090.00616.48
7.2.60.0060.00616.58
7.2.00.0060.00919.18
7.1.330.0030.00915.76
7.1.320.0090.00315.49
7.1.310.0070.00715.69
7.1.300.0070.00715.45
7.1.290.0090.00615.74
7.1.280.0090.00915.61
7.1.270.0060.01015.69
7.1.260.0060.00615.80
7.1.200.0060.00615.68
7.1.100.0040.00817.99
7.1.70.0000.00816.97
7.1.60.0100.01019.27
7.1.50.0000.01716.62
7.1.00.0070.07322.48
7.0.200.0030.00714.94
7.0.60.0130.07719.81
7.0.50.0100.08017.84
7.0.40.0030.06720.31
7.0.30.0530.05720.17
7.0.20.0270.08020.33
7.0.10.0270.04320.19
7.0.00.0200.07320.09
5.6.280.0070.06720.93
5.6.210.0100.08320.52
5.6.200.0130.07718.16
5.6.190.0000.04720.33
5.6.180.0330.04320.47
5.6.170.0230.04720.47
5.6.160.0100.06320.46
5.6.150.0030.08018.18
5.6.140.0100.07718.23
5.6.130.0070.03718.18
5.6.120.0070.04021.03
5.6.110.0130.06721.01
5.6.100.0100.08021.12
5.6.90.0100.06021.01
5.6.80.0070.07020.38
5.6.70.3230.04320.35
5.5.350.0070.04720.45
5.5.340.0070.06717.98
5.5.330.0100.03720.45
5.5.320.0370.06320.41
5.5.310.0270.07720.36
5.5.300.0070.03717.98
5.5.290.0130.08018.07
5.5.280.0100.08020.81
5.5.270.0030.04720.69
5.5.260.0170.07720.90
5.5.250.0030.04720.62
5.5.240.0270.07020.16
5.4.450.0430.06319.45
5.4.440.0600.06319.15
5.4.430.0470.06719.27
5.4.420.0270.05719.47
5.4.410.0330.05019.04
5.4.400.0330.07019.01
5.4.390.0600.06718.84
5.4.380.0470.05719.14
5.4.370.0270.04719.15
5.4.360.0230.06019.02
5.4.350.0570.05019.16
5.4.340.0500.06319.14
5.4.320.0230.05019.23
5.4.310.0530.05019.13
5.4.300.0600.06319.00
5.4.290.0730.05719.28
5.4.280.0400.07019.27
5.4.270.0700.06319.25
5.4.260.0770.05319.36
5.4.250.0670.05019.13
5.4.240.0630.06019.36
5.4.230.0500.05719.12
5.4.220.0470.07018.83
5.4.210.0470.06019.25
5.4.200.0570.06019.28
5.4.190.0700.05019.24
5.4.180.0500.05319.30
5.4.170.0500.05318.95
5.4.160.0530.05319.23
5.4.150.0630.05019.21
5.4.140.0530.04716.56
5.4.130.0700.03016.36
5.4.120.0470.05016.57
5.4.110.0400.06016.30
5.4.100.0700.04016.58
5.4.90.0570.06016.65
5.4.80.0630.05316.65
5.4.70.0300.04016.57
5.4.60.0400.05316.33
5.4.50.0100.03316.16
5.4.40.0000.06016.43
5.4.30.0070.04716.25
5.4.20.0270.06716.48

preferences:
32.75 ms | 400 KiB | 5 Q