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 setClass($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'; } } adapter::setClass('target'); adapter::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.0090.00916.88
8.3.50.0120.00316.48
8.3.40.0060.00819.02
8.3.30.0040.01118.80
8.3.20.0040.00420.34
8.3.10.0080.00023.54
8.3.00.0050.00319.78
8.2.180.0040.01516.63
8.2.170.0040.01122.96
8.2.160.0140.00020.53
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0000.00917.48
8.2.110.0030.00719.37
8.2.100.0090.00317.50
8.2.90.0000.00719.09
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0030.00517.91
8.2.50.0080.00018.07
8.2.40.0090.00019.46
8.2.30.0040.00717.95
8.2.20.0000.00817.70
8.2.10.0080.00018.06
8.2.00.0000.00818.00
8.1.280.0070.00725.92
8.1.270.0140.00022.16
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0050.00322.62
8.1.230.0080.00417.54
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0030.00617.23
8.1.180.0070.00018.10
8.1.170.0000.00918.49
8.1.160.0000.00721.87
8.1.150.0000.00718.78
8.1.140.0060.00317.27
8.1.130.0030.00317.59
8.1.120.0000.00817.37
8.1.110.0000.00817.30
8.1.100.0070.00017.36
8.1.90.0030.00317.33
8.1.80.0030.00517.33
8.1.70.0080.00017.33
8.1.60.0040.00417.44
8.1.50.0000.00817.40
8.1.40.0040.00417.36
8.1.30.0050.00317.44
8.1.20.0030.00617.55
8.1.10.0070.00017.41
8.1.00.0030.00617.52
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0030.00318.44
8.0.270.0070.00017.25
8.0.260.0000.00617.21
8.0.250.0000.00716.93
8.0.240.0040.00416.84
8.0.230.0000.00716.93
8.0.220.0000.00716.96
8.0.210.0080.00016.82
8.0.200.0030.00316.85
8.0.190.0060.00316.95
8.0.180.0000.00816.81
8.0.170.0060.00316.73
8.0.160.0030.00316.92
8.0.150.0040.00416.85
8.0.140.0050.00216.87
8.0.130.0000.00613.29
8.0.120.0080.00016.86
8.0.110.0000.00716.79
8.0.100.0040.00416.90
8.0.90.0070.00016.71
8.0.80.0090.00716.91
8.0.70.0080.00016.75
8.0.60.0040.00416.71
8.0.50.0040.00416.85
8.0.30.0100.00617.06
8.0.20.0110.00917.40
8.0.10.0070.00016.76
8.0.00.0080.01216.70
7.4.330.0000.00515.14
7.4.320.0030.00316.62
7.4.300.0060.00016.50
7.4.290.0070.00016.52
7.4.280.0030.00616.51
7.4.270.0000.00716.61
7.4.260.0040.00416.49
7.4.250.0040.00416.59
7.4.240.0010.00616.50
7.4.230.0030.00316.36
7.4.220.0110.00716.46
7.4.210.0080.00816.61
7.4.200.0030.00316.35
7.4.160.0110.00416.41
7.4.150.0130.01017.40
7.4.140.0100.01317.86
7.4.130.0100.01016.66
7.4.120.0100.00916.55
7.4.110.0030.01316.47
7.4.100.0150.00916.59
7.4.90.0110.00816.52
7.4.80.0100.00719.39
7.4.70.0030.01416.58
7.4.60.0080.01116.59
7.4.50.0020.00516.48
7.4.40.0100.00716.51
7.4.30.0140.00816.75
7.4.00.0040.01415.01
7.3.330.0000.00513.41
7.3.320.0050.00013.34
7.3.310.0080.00016.29
7.3.300.0070.00016.43
7.3.290.0080.00916.41
7.3.280.0070.00916.42
7.3.270.0070.01017.40
7.3.260.0090.00816.48
7.3.250.0090.00816.42
7.3.240.0100.00716.66
7.3.230.0150.00816.66
7.3.210.0090.00816.58
7.3.200.0030.01316.50
7.3.190.0060.01116.63
7.3.180.0040.01116.57
7.3.170.0090.00616.39
7.3.160.0110.00616.41
7.3.10.0060.01016.55
7.3.00.0090.01016.49
7.2.330.0100.00716.86
7.2.320.0140.01116.40
7.2.310.0110.01116.45
7.2.300.0060.01216.64
7.2.290.0130.00316.36
7.2.130.0060.00916.80
7.2.120.0110.00516.95
7.2.110.0100.00716.83
7.2.100.0080.00516.91
7.2.90.0140.00516.73
7.2.80.0060.01016.79
7.2.70.0120.00316.98
7.2.60.0070.00816.93
7.2.50.0100.00516.82
7.2.40.0060.00916.86
7.2.30.0060.00616.92
7.2.20.0090.00516.85
7.2.10.0060.00816.76
7.2.00.0090.00617.71
7.1.250.0050.01015.71
7.1.200.0030.00915.76
7.1.100.0000.01117.82
7.1.70.0030.01016.66
7.1.60.0040.01419.27
7.1.50.0090.01316.91
7.1.00.0000.08022.40
7.0.200.0350.00614.84
7.0.60.0030.07019.93
7.0.50.0130.05017.87
7.0.40.0000.06320.15
7.0.30.0570.07320.24
7.0.20.0270.07020.15
7.0.10.0130.05020.09
7.0.00.0070.04020.19
5.6.280.0030.05721.02
5.6.210.0270.06020.48
5.6.200.0030.05318.29
5.6.190.0070.08020.47
5.6.180.0370.06320.63
5.6.170.0200.08320.45
5.6.160.0130.07320.57
5.6.150.0030.04018.16
5.6.140.0100.07718.15
5.6.130.0070.04318.15
5.6.120.0100.08021.00
5.6.110.0130.06020.86
5.6.100.0170.07720.98
5.6.90.0170.07721.04
5.6.80.0100.05720.51
5.6.70.4530.04320.38
5.5.350.0070.08720.41
5.5.340.0000.09017.96
5.5.330.0130.07720.33
5.5.320.4100.04020.14
5.5.310.0200.04720.35
5.5.300.0070.06717.95
5.5.290.0030.07718.04
5.5.280.0030.05320.78
5.5.270.0100.07720.80
5.5.260.0130.03020.78
5.5.250.0130.08320.71
5.5.240.0270.06720.04
5.4.450.0630.05319.58
5.4.440.0570.06319.38
5.4.430.0670.06019.69
5.4.420.0770.04719.28
5.4.410.0570.06319.25
5.4.400.0700.04319.12
5.4.390.0570.06019.27
5.4.380.0570.06019.06
5.4.370.0600.05019.22
5.4.360.0530.06019.28
5.4.350.0670.05318.97
5.4.340.0600.05719.23
5.4.320.0700.04719.15
5.4.310.0600.05318.83
5.4.300.0630.05319.11
5.4.290.0870.04719.05
5.4.280.0770.04318.95
5.4.270.1000.06018.93
5.4.260.0770.06019.29
5.4.250.0730.05719.11
5.4.240.0670.05318.82
5.4.230.0770.07019.12
5.4.220.0900.04718.95
5.4.210.0600.05319.11
5.4.200.0370.06719.09
5.4.190.0200.06018.84
5.4.180.0230.04319.13
5.4.170.0700.04319.11
5.4.160.0570.05019.25
5.4.150.0400.05018.81
5.4.140.0130.04716.55
5.4.130.0100.05016.52
5.4.120.0400.04716.73
5.4.110.0630.04016.30
5.4.100.0200.05716.57
5.4.90.0100.05016.65
5.4.80.0200.05016.23
5.4.70.0230.06716.30
5.4.60.0270.05716.23
5.4.50.0030.07016.56
5.4.40.0000.04716.25
5.4.30.0000.07716.16
5.4.20.0300.04716.55

preferences:
62.82 ms | 400 KiB | 5 Q