3v4l.org

run code in 300+ PHP versions simultaneously
<?php class fetcher { public function __construct() { } public static function fetch() { echo 'abc'; } } class runner { private static $fetcher; public function __construct() { static::$fetcher = new fetcher(); } public static function run() { static::$fetcher->fetch(); } } $runner = new runner(); $runner->run();

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.00416.75
8.3.50.0070.00716.40
8.3.40.0040.01118.58
8.3.30.0110.00418.50
8.3.20.0050.00320.34
8.3.10.0000.00821.88
8.3.00.0080.00019.51
8.2.180.0150.00018.36
8.2.170.0100.00322.96
8.2.160.0090.00620.52
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0080.00021.00
8.2.120.0040.00426.35
8.2.110.0090.00021.18
8.2.100.0090.00318.09
8.2.90.0050.00319.25
8.2.80.0030.00617.97
8.2.70.0000.00817.38
8.2.60.0000.00717.93
8.2.50.0090.00018.10
8.2.40.0080.00020.55
8.2.30.0040.00420.85
8.2.20.0000.00717.87
8.2.10.0060.00317.99
8.2.00.0070.00017.87
8.1.280.0070.01125.92
8.1.270.0040.00422.20
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0090.00023.88
8.1.230.0070.00419.10
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0060.00317.24
8.1.190.0050.00317.35
8.1.180.0000.00718.10
8.1.170.0060.00320.34
8.1.160.0030.00519.00
8.1.150.0000.00820.67
8.1.140.0040.00419.51
8.1.130.0000.01018.88
8.1.120.0040.00417.41
8.1.110.0070.00017.36
8.1.100.0000.00717.40
8.1.90.0000.00817.25
8.1.80.0040.00417.37
8.1.70.0030.00317.39
8.1.60.0040.00417.64
8.1.50.0070.00017.47
8.1.40.0040.00417.50
8.1.30.0040.00417.68
8.1.20.0060.00617.53
8.1.10.0000.00717.53
8.1.00.0040.00417.44
8.0.300.0030.00618.77
8.0.290.0070.00016.75
8.0.280.0000.00818.35
8.0.270.0000.00817.31
8.0.260.0000.00616.80
8.0.250.0030.00316.76
8.0.240.0040.00416.87
8.0.230.0000.00716.85
8.0.220.0000.00716.75
8.0.210.0070.00016.81
8.0.200.0000.00716.86
8.0.190.0030.00716.75
8.0.180.0050.00216.86
8.0.170.0030.00316.73
8.0.160.0030.00316.93
8.0.150.0000.00716.81
8.0.140.0000.00716.83
8.0.130.0060.00013.21
8.0.120.0080.00016.65
8.0.110.0040.00416.92
8.0.100.0040.00416.77
8.0.90.0040.00416.79
8.0.80.0100.00716.78
8.0.70.0050.00316.71
8.0.60.0030.00516.66
8.0.50.0040.00416.77
8.0.30.0060.01016.93
8.0.20.0090.00917.40
8.0.10.0050.00216.77
8.0.00.0040.01516.80
7.4.330.0020.00215.55
7.4.320.0000.00716.54
7.4.300.0000.00716.64
7.4.290.0000.00716.43
7.4.280.0050.00216.50
7.4.270.0000.00816.58
7.4.260.0000.00716.63
7.4.250.0080.00016.42
7.4.240.0030.00316.61
7.4.230.0000.00716.60
7.4.220.0060.01216.53
7.4.210.0090.00616.37
7.4.200.0060.00316.63
7.4.160.0090.00916.41
7.4.150.0060.01117.40
7.4.140.0100.01017.86
7.4.130.0100.01716.50
7.4.120.0110.00916.43
7.4.110.0140.00316.26
7.4.100.0090.01316.48
7.4.90.0150.00616.54
7.4.80.0120.00619.39
7.4.70.0100.00716.45
7.4.60.0100.00616.55
7.4.50.0070.00316.49
7.4.40.0030.01216.61
7.4.30.0100.00616.68
7.4.00.0040.01415.09
7.3.330.0000.00513.13
7.3.320.0030.00313.22
7.3.310.0030.00316.41
7.3.300.0000.00616.25
7.3.290.0080.00716.28
7.3.280.0100.00616.29
7.3.270.0060.01917.40
7.3.260.0090.01116.30
7.3.250.0100.00816.48
7.3.240.0050.01216.36
7.3.230.0090.00916.18
7.3.210.0060.01016.25
7.3.200.0130.00716.38
7.3.190.0070.01016.30
7.3.180.0120.00416.30
7.3.170.0070.01716.51
7.3.160.0100.01016.58
7.2.330.0040.01416.66
7.2.320.0100.01816.45
7.2.310.0150.00616.72
7.2.300.0120.00616.82
7.2.290.0090.00916.78
7.2.60.0110.00416.66
7.2.00.0000.01219.11
7.1.200.0040.00815.49
7.1.100.0000.01117.55
7.1.70.0030.01416.73
7.1.60.0190.01935.14
7.1.50.0110.01534.80
7.1.40.0130.01334.17
7.1.30.0130.01334.32
7.1.20.0180.01134.64
7.1.10.0080.00516.63
7.1.00.0030.00916.41
7.0.200.0070.00416.61
7.0.190.0000.01416.63
7.0.180.0060.00616.46
7.0.170.0030.01116.28
7.0.160.0060.00616.14
7.0.150.0040.00816.28
7.0.140.0000.01216.34
7.0.130.0030.01016.35
7.0.120.0030.00916.38
7.0.110.0080.00816.35
7.0.100.0030.01216.36
7.0.90.0000.01216.39
7.0.80.0000.01316.36
7.0.70.0040.00716.17
7.0.60.0030.00915.83
7.0.50.0040.00816.29
7.0.40.0060.00616.29
7.0.30.0090.00316.17
7.0.20.0060.00616.47
7.0.10.0060.00616.51
7.0.00.0000.01116.20

preferences:
79.99 ms | 400 KiB | 5 Q