3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('zend.exception_ignore_args', 1); function f(string $password): void { throw new RuntimeException('oops'); } $password = 'ore no himitu'; f($password);

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.4.120.0110.00924.00
8.4.110.0080.00820.86
8.4.100.0080.00918.76
8.4.90.0080.01220.66
8.4.80.0090.01118.92
8.4.70.0080.01119.08
8.4.60.0090.00619.04
8.4.50.0060.00320.33
8.4.40.0090.00920.43
8.4.30.0090.00018.58
8.4.20.0090.01219.80
8.4.10.0060.01219.75
8.3.250.0060.00417.37
8.3.240.0120.00616.92
8.3.230.0060.00216.77
8.3.220.0130.00718.89
8.3.210.0080.00916.68
8.3.200.0050.00416.59
8.3.190.0080.00317.14
8.3.180.0080.00618.77
8.3.170.0160.00316.57
8.3.160.0070.01118.80
8.3.150.0110.00717.18
8.3.140.0040.01120.72
8.3.130.0060.00318.69
8.3.120.0090.00019.09
8.3.110.0100.00620.94
8.3.100.0160.00316.74
8.3.90.0040.00426.77
8.3.80.0080.00419.36
8.3.70.0140.00716.36
8.3.60.0100.01018.68
8.3.50.0120.00323.56
8.3.40.0110.00418.89
8.3.30.0070.00718.71
8.3.20.0060.00320.94
8.3.10.0080.00022.00
8.3.00.0040.00423.31
8.2.290.0130.00720.18
8.2.280.0110.00620.41
8.2.270.0110.00718.64
8.2.260.0040.00416.92
8.2.250.0100.00616.59
8.2.240.0070.01118.73
8.2.230.0060.00322.58
8.2.220.0030.00624.06
8.2.210.0100.00026.77
8.2.200.0060.00318.88
8.2.190.0060.01216.63
8.2.180.0040.01516.88
8.2.170.0140.00022.96
8.2.160.0070.00722.25
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00620.69
8.2.110.0030.00620.47
8.2.100.0030.00917.68
8.2.90.0000.00817.84
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0030.00617.80
8.2.50.0000.00918.07
8.2.40.0000.00818.10
8.2.30.0050.00317.96
8.2.20.0050.00317.87
8.2.10.0000.00819.37
8.2.00.0040.00419.35
8.1.330.0120.00822.03
8.1.320.0100.00916.46
8.1.310.0120.00316.52
8.1.300.0060.01218.14
8.1.290.0040.00730.84
8.1.280.0070.00725.92
8.1.270.0030.00522.48
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.10
8.1.230.0050.00522.13
8.1.220.0040.00417.79
8.1.210.0090.00018.77
8.1.200.0000.01017.23
8.1.190.0000.00817.22
8.1.180.0080.00018.10
8.1.170.0060.00318.65
8.1.160.0050.00318.93
8.1.150.0050.00220.84
8.1.140.0080.00020.67
8.1.130.0030.00320.17
8.1.120.0040.00417.48
8.1.110.0030.00517.49
8.1.100.0030.00617.45
8.1.90.0050.00217.49
8.1.80.0030.00617.41
8.1.70.0040.00417.45
8.1.60.0000.00817.59
8.1.50.0090.00317.56
8.1.40.0000.00917.47
8.1.30.0000.00817.67
8.1.20.0080.00017.62
8.1.10.0000.00717.54
8.1.00.0000.00817.52
8.0.300.0000.00819.92
8.0.290.0000.00816.75
8.0.280.0000.00718.38
8.0.270.0000.00717.92
8.0.260.0000.00620.00
8.0.250.0030.00316.89
8.0.240.0030.00616.92
8.0.230.0070.00016.85
8.0.220.0080.00016.85
8.0.210.0090.00016.77
8.0.200.0040.00416.97
8.0.190.0080.00016.83
8.0.180.0030.00516.88
8.0.170.0030.00616.87
8.0.160.0050.00316.85
8.0.150.0000.00716.90
8.0.140.0000.00816.82
8.0.130.0030.00313.36
8.0.120.0030.00516.85
8.0.110.0030.00416.81
8.0.100.0040.00416.75
8.0.90.0060.00316.91
8.0.80.0110.00416.91
8.0.70.0040.00417.02
8.0.60.0070.00016.94
8.0.50.0040.00417.06
8.0.30.0100.00716.77
8.0.20.0100.00917.15
8.0.10.0040.00416.95
8.0.00.0120.00616.87
7.4.330.0000.00516.79
7.4.320.0030.00316.43
7.4.300.0030.00316.41
7.4.290.0090.00016.51
7.4.280.0000.00716.50
7.4.270.0070.00016.59
7.4.260.0050.00013.27
7.4.250.0070.00016.52
7.4.240.0030.00516.57
7.4.230.0030.00316.60
7.4.220.0020.00516.47
7.4.210.0070.01316.63
7.4.200.0070.00016.63
7.4.180.0060.00516.31
7.4.130.0070.01116.59
7.4.120.0140.00316.45
7.4.110.0100.00716.34
7.4.100.0070.01016.70
7.4.90.0060.01616.52
7.4.80.0060.01519.39
7.4.70.0140.00316.46
7.4.60.0100.00616.68
7.4.50.0070.00716.53
7.4.40.0060.01016.46
7.4.10.0130.00514.65
7.4.00.0030.01214.89
7.3.330.0000.00716.19
7.3.320.0050.00013.30
7.3.310.0000.00816.33
7.3.300.0000.00816.34
7.3.290.0080.00716.32
7.3.280.0070.01316.29
7.3.260.0090.00916.42
7.3.240.0060.01016.38
7.3.230.0160.00616.29
7.3.210.0070.01116.30
7.3.200.0060.00916.55
7.3.190.0070.01016.62
7.3.180.0040.01316.26
7.3.170.0160.00016.36
7.3.160.0120.00616.41
7.3.130.0000.01514.83
7.3.120.0090.00614.59
7.3.110.0060.00814.64
7.3.100.0100.00314.76
7.3.90.0050.01014.75
7.3.80.0090.00614.47
7.3.70.0170.00314.66
7.3.60.0060.00914.47
7.3.50.0040.01114.58
7.3.40.0100.00614.47
7.3.30.0060.00914.78
7.3.20.0070.00714.52
7.3.10.0130.00314.87
7.3.00.0110.00314.51
7.2.330.0140.00316.60
7.2.320.0100.00716.32
7.2.310.0080.00816.39
7.2.300.0150.00316.62
7.2.290.0060.01016.57
7.2.260.0080.00914.83
7.2.250.0090.00614.40
7.2.240.0090.00614.69
7.2.230.0030.01214.90
7.2.220.0130.00314.60
7.2.210.0080.00814.89
7.2.200.0080.00814.66
7.2.190.0040.01214.73
7.2.180.0110.00414.84
7.2.170.0060.00914.66
7.2.160.0060.00914.75
7.2.150.0060.00915.06
7.2.140.0040.01114.93
7.2.130.0110.00614.97
7.2.120.0000.01614.96
7.2.110.0000.01414.85
7.2.100.0130.00714.91
7.2.90.0120.00214.96
7.2.80.0090.00614.70
7.2.70.0070.01114.83
7.2.60.0040.01114.87
7.2.50.0040.01215.04
7.2.40.0110.00414.96
7.2.30.0050.01114.87
7.2.20.0100.00715.01
7.2.10.0120.00314.95
7.2.00.0030.01114.89

preferences:
29.55 ms | 403 KiB | 5 Q