3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Tools { public static $notify; public function test() { var_dump(self::$notify, (boolean)self::$notify, !self::$notify); } } $debug = true; if ($debug) { Tools::$notify = false; } $tools = new Tools; $tools->test();

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.0140.00718.31
8.3.50.0180.00016.29
8.3.40.0210.00018.79
8.3.30.0110.00418.66
8.3.20.0040.00421.69
8.3.10.0060.00321.86
8.3.00.0030.00517.91
8.2.180.0040.01418.54
8.2.170.0120.00922.96
8.2.160.0110.00422.08
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00422.26
8.2.120.0000.00726.16
8.2.110.0090.00022.20
8.2.100.0040.00817.72
8.2.90.0030.00519.22
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0050.00318.04
8.2.50.0060.00318.10
8.2.40.0000.00720.42
8.2.30.0070.00019.24
8.2.20.0040.00418.10
8.2.10.0000.00718.11
8.2.00.0080.00318.02
8.1.280.0130.00725.92
8.1.270.0040.00423.85
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0000.00823.84
8.1.230.0110.00023.89
8.1.220.0060.00317.79
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0090.00017.22
8.1.180.0040.00418.10
8.1.170.0000.00818.56
8.1.160.0070.00018.88
8.1.150.0070.00020.13
8.1.140.0000.00719.52
8.1.130.0030.00618.93
8.1.120.0000.00717.48
8.1.110.0030.00517.48
8.1.100.0040.00417.36
8.1.90.0000.00717.41
8.1.80.0070.00017.48
8.1.70.0040.00417.50
8.1.60.0000.00817.60
8.1.50.0090.00017.51
8.1.40.0000.00817.58
8.1.30.0030.00517.56
8.1.20.0000.00717.47
8.1.10.0030.00617.57
8.1.00.0040.00417.55
8.0.300.0000.00818.77
8.0.290.0060.00316.75
8.0.280.0040.00418.44
8.0.270.0030.00317.25
8.0.260.0000.00616.73
8.0.250.0000.00616.96
8.0.240.0050.00316.86
8.0.230.0040.00316.97
8.0.220.0040.00416.92
8.0.210.0040.00416.90
8.0.200.0030.00316.91
8.0.190.0040.00416.93
8.0.180.0000.00816.92
8.0.170.0050.00316.90
8.0.160.0000.00816.89
8.0.150.0050.00216.77
8.0.140.0030.00516.89
8.0.130.0000.00513.31
8.0.120.0060.00316.77
8.0.110.0000.00716.90
8.0.100.0000.00716.68
8.0.90.0030.00316.74
8.0.80.0090.00616.84
8.0.70.0000.00816.89
8.0.60.0030.00616.91
8.0.50.0030.00316.82
8.0.30.0130.00916.98
8.0.20.0120.00817.40
8.0.10.0050.00216.78
8.0.00.0030.01816.59
7.4.330.0000.00515.55
7.4.320.0030.00316.65
7.4.300.0030.00316.58
7.4.290.0030.00616.51
7.4.280.0000.00816.54
7.4.270.0030.00316.52
7.4.260.0030.00313.30
7.4.250.0000.00816.39
7.4.240.0000.00716.39
7.4.230.0000.00716.47
7.4.220.0130.00716.55
7.4.210.0140.00616.55
7.4.200.0060.00316.49
7.4.160.0070.01116.38
7.4.150.0110.00717.40
7.4.140.0070.01117.86
7.4.130.0090.00916.50
7.4.120.0130.00716.49
7.4.110.0090.00616.42
7.4.100.0130.00416.45
7.4.90.0110.00716.46
7.4.80.0100.00719.39
7.4.70.0110.00516.50
7.4.60.0080.00816.48
7.4.50.0030.01016.54
7.4.40.0120.00916.47
7.4.30.0040.01216.44
7.4.00.0030.01315.20
7.3.330.0000.00513.30
7.3.320.0000.00513.12
7.3.310.0000.00816.36
7.3.300.0000.00716.16
7.3.290.0080.00716.31
7.3.280.0090.00816.27
7.3.270.0140.00317.40
7.3.260.0120.00416.54
7.3.250.0080.01116.39
7.3.240.0110.00516.26
7.3.230.0090.00916.41
7.3.210.0080.00916.30
7.3.200.0030.01316.44
7.3.190.0150.00016.43
7.3.180.0140.00716.25
7.3.170.0060.01016.50
7.3.160.0100.00616.60
7.2.330.0060.01116.73
7.2.320.0100.01316.62
7.2.310.0160.00716.81
7.2.300.0100.00716.73
7.2.290.0120.00916.52
7.2.60.0110.00316.92
7.1.200.0110.00315.80
7.1.70.0050.00216.93
7.1.60.0470.01733.41
7.1.50.0430.01333.07
7.1.40.0630.01332.59
7.1.30.0630.02332.82
7.1.20.0530.00332.60
7.1.10.0370.01014.68
7.1.00.0430.00314.81
7.0.200.0470.01314.97
7.0.190.0300.01014.79
7.0.180.0370.01014.14
7.0.170.0400.01714.41
7.0.160.0430.01314.30
7.0.150.0430.01014.29
7.0.140.0530.01314.35
7.0.130.0470.01014.65
7.0.120.1300.00714.62
7.0.110.0570.01314.55
7.0.100.0430.00714.60
7.0.90.0400.00714.69
7.0.80.0400.01714.42
7.0.70.0430.01014.50
7.0.60.0370.01014.19
7.0.50.0430.01014.68
7.0.40.0500.01014.52
7.0.30.0670.01314.66
7.0.20.0430.00714.43
7.0.10.0500.00714.74
7.0.00.0430.01014.69

preferences:
54.44 ms | 401 KiB | 5 Q