3v4l.org

run code in 300+ PHP versions simultaneously
<?php class target { public static function startCrawler() { echo 'crawler state'; } } 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.70.0120.00316.58
8.3.60.0140.00416.63
8.3.50.0130.00721.30
8.3.40.0090.00918.98
8.3.30.0070.00718.79
8.3.20.0040.00420.39
8.3.10.0000.00823.57
8.3.00.0080.00019.79
8.2.180.0120.00418.29
8.2.170.0140.00722.96
8.2.160.0120.00320.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0060.00317.88
8.2.110.0060.00322.27
8.2.100.0040.00718.03
8.2.90.0040.00419.30
8.2.80.0070.00317.97
8.2.70.0030.00617.61
8.2.60.0090.00018.05
8.2.50.0030.00518.07
8.2.40.0040.00419.36
8.2.30.0040.00717.95
8.2.20.0000.00817.68
8.2.10.0040.00417.94
8.2.00.0040.00417.98
8.1.280.0070.01425.92
8.1.270.0120.00620.24
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.91
8.1.230.0040.00719.15
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0090.00017.25
8.1.190.0050.00317.35
8.1.180.0020.00518.10
8.1.170.0080.00418.57
8.1.160.0000.00722.03
8.1.150.0050.00218.95
8.1.140.0060.00317.41
8.1.130.0040.00417.62
8.1.120.0040.00417.38
8.1.110.0030.00517.47
8.1.100.0070.00017.37
8.1.90.0040.00417.47
8.1.80.0000.00717.36
8.1.70.0000.00717.53
8.1.60.0050.00317.49
8.1.50.0000.00817.57
8.1.40.0040.00417.45
8.1.30.0090.00017.63
8.1.20.0040.00417.62
8.1.10.0040.00417.60
8.1.00.0040.00417.44
8.0.300.0030.00618.77
8.0.290.0070.00016.63
8.0.280.0040.00418.50
8.0.270.0000.00817.32
8.0.260.0070.00017.27
8.0.250.0040.00416.86
8.0.240.0000.00816.89
8.0.230.0030.00316.98
8.0.220.0000.00716.85
8.0.210.0000.00816.94
8.0.200.0000.00816.99
8.0.190.0090.00016.94
8.0.180.0080.00016.94
8.0.170.0000.00816.88
8.0.160.0070.00017.04
8.0.150.0000.00816.81
8.0.140.0070.00016.78
8.0.130.0000.00613.38
8.0.120.0020.00516.77
8.0.110.0000.00716.73
8.0.100.0000.00816.89
8.0.90.0030.00616.76
8.0.80.0090.00616.88
8.0.70.0000.00716.71
8.0.60.0000.00716.81
8.0.50.0070.00016.90
8.0.30.0130.00617.27
8.0.20.0120.01117.40
8.0.10.0050.00217.03
8.0.00.0080.01116.64
7.4.330.0030.00315.18
7.4.320.0040.00416.51
7.4.300.0000.00716.48
7.4.290.0030.00316.60
7.4.280.0000.00716.43
7.4.270.0030.00316.61
7.4.260.0000.00716.39
7.4.250.0000.00816.54
7.4.240.0030.00316.67
7.4.230.0030.00316.36
7.4.220.0170.01616.67
7.4.210.0100.00716.60
7.4.200.0040.00416.63
7.4.160.0120.00416.50
7.4.150.0070.01117.40
7.4.140.0120.00917.86
7.4.130.0080.00816.59
7.4.120.0180.00316.48
7.4.110.0060.01016.51
7.4.100.0190.00416.44
7.4.90.0100.00716.55
7.4.80.0110.00719.39
7.4.70.0080.00816.45
7.4.60.0040.01216.48
7.4.50.0030.00516.30
7.4.40.0120.00616.47
7.4.30.0110.00616.70
7.4.00.0060.00314.97
7.3.330.0030.00313.18
7.3.320.0000.00513.23
7.3.310.0040.00416.47
7.3.300.0000.00716.37
7.3.290.0040.00416.32
7.3.280.0120.00616.35
7.3.270.0110.00717.40
7.3.260.0100.01016.43
7.3.250.0100.00816.42
7.3.240.0090.01516.28
7.3.230.0120.00616.66
7.3.210.0000.01916.41
7.3.200.0110.00716.38
7.3.190.0130.00416.29
7.3.180.0130.00316.45
7.3.170.0050.01116.35
7.3.160.0080.00816.38
7.2.330.0150.00416.70
7.2.320.0060.01916.32
7.2.310.0030.01416.78
7.2.300.0120.00916.59
7.2.290.0130.00316.54
7.2.60.0280.00417.02
7.1.200.0070.00715.26
7.1.70.0040.00417.02
7.1.60.0120.00919.27
7.1.50.0060.01816.92
7.1.00.0070.07322.33
7.0.200.0080.00314.58
7.0.60.0230.05319.99
7.0.50.0200.03717.89
7.0.40.0070.04720.40
7.0.30.0570.07020.09
7.0.20.0230.04320.15
7.0.10.0230.06320.23
7.0.00.0100.08320.10
5.6.280.0030.06320.79
5.6.210.0070.06020.52
5.6.200.0070.08318.18
5.6.190.0030.07320.55
5.6.180.0270.07020.61
5.6.170.0300.05320.48
5.6.160.0030.04720.44
5.6.150.0030.08318.29
5.6.140.0000.04318.17
5.6.130.0070.07018.14
5.6.120.0030.04321.09
5.6.110.0130.07021.12
5.6.100.0170.06721.09
5.6.90.0200.07021.01
5.6.80.0030.07020.38
5.5.350.0030.08020.39
5.5.340.0030.08318.06
5.5.330.0000.04720.13
5.5.320.0400.07320.29
5.5.310.0300.04020.14
5.5.300.0030.08718.06
5.5.290.0070.07017.99
5.5.280.0130.05720.69
5.5.270.0000.05320.96
5.5.260.0070.03720.87
5.5.250.0130.06720.59
5.5.240.0200.04320.16
5.4.450.0270.06019.51
5.4.440.0430.05019.55
5.4.430.0430.07319.30
5.4.420.0500.07019.40
5.4.410.0670.07019.09
5.4.400.0230.07718.94
5.4.390.0630.05719.21
5.4.380.0530.05718.95
5.4.370.0570.05019.04
5.4.360.0470.06019.08
5.4.350.0600.06319.21
5.4.340.0470.06319.28
5.4.320.0500.06319.09
5.4.310.0600.05018.76
5.4.300.0470.05319.04
5.4.290.0500.05319.28
5.4.280.0570.06718.79
5.4.270.0800.06019.05
5.4.260.0630.04319.24
5.4.250.0430.05719.04
5.4.240.0470.04319.05
5.4.230.0170.05319.03
5.4.220.0130.05719.25
5.4.210.0070.05719.15
5.4.200.0200.04718.79
5.4.190.0130.05719.14
5.4.180.0200.05019.21
5.4.170.0270.04018.99
5.4.160.0330.04718.93
5.4.150.0370.05718.76
5.4.140.0370.04316.38
5.4.130.0100.06016.61
5.4.120.0600.06316.46
5.4.110.0430.05716.67
5.4.100.0470.05316.58
5.4.90.0330.05316.29
5.4.80.0430.04716.21
5.4.70.0270.04316.28
5.4.60.0330.03316.53
5.4.50.0070.06716.51
5.4.40.0000.04716.43
5.4.30.0000.04016.48
5.4.20.0170.05716.44

preferences:
64.35 ms | 401 KiB | 5 Q