3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { throw new SodiumException('test'); } foo();

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.0070.01116.58
8.3.60.0170.00318.31
8.3.50.0100.01017.89
8.3.40.0150.00718.79
8.3.30.0130.00718.59
8.3.20.0000.00821.77
8.3.10.0040.00423.46
8.3.00.0080.00023.58
8.2.180.0090.00618.54
8.2.170.0040.01122.96
8.2.160.0100.00320.35
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0090.00019.70
8.2.120.0000.00826.35
8.2.110.0030.00620.88
8.2.100.0060.00617.91
8.2.90.0080.00018.09
8.2.80.0060.00319.07
8.2.70.0050.00317.63
8.2.60.0050.00317.50
8.2.50.0030.00618.10
8.2.40.0000.00719.35
8.2.30.0080.00019.09
8.2.20.0000.00718.04
8.2.10.0000.00720.65
8.2.00.0040.00419.27
8.1.280.0120.00625.92
8.1.270.0110.00418.83
8.1.260.0080.00026.35
8.1.250.0090.00028.09
8.1.240.0030.00622.19
8.1.230.0040.00720.95
8.1.220.0000.00817.79
8.1.210.0030.00519.99
8.1.200.0000.00817.35
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0000.00818.53
8.1.160.0000.00818.75
8.1.150.0030.00418.80
8.1.140.0030.00322.16
8.1.130.0020.00517.33
8.1.120.0000.00717.32
8.1.110.0050.00317.39
8.1.100.0000.01117.31
8.1.90.0040.00417.43
8.1.80.0030.00517.39
8.1.70.0030.00317.40
8.1.60.0000.00817.49
8.1.50.0030.00617.47
8.1.40.0000.00817.43
8.1.30.0070.00017.55
8.1.20.0040.00417.50
8.1.10.0060.00317.53
8.1.00.0070.00017.33
8.0.300.0050.00220.00
8.0.290.0000.00816.63
8.0.280.0000.00718.31
8.0.270.0030.00517.18
8.0.260.0000.00716.81
8.0.250.0040.00416.91
8.0.240.0000.00616.82
8.0.230.0030.00316.98
8.0.220.0000.00716.87
8.0.210.0030.00316.76
8.0.200.0000.00816.92
8.0.190.0040.00416.93
8.0.180.0040.00416.91
8.0.170.0040.00416.76
8.0.160.0030.00316.84
8.0.150.0040.00416.80
8.0.140.0000.00716.91
8.0.130.0000.00513.37
8.0.120.0000.00716.81
8.0.110.0000.00817.00
8.0.100.0070.00017.00
8.0.90.0000.00816.80
8.0.80.0100.00716.97
8.0.70.0040.00416.93
8.0.60.0000.00717.00
8.0.50.0040.00416.96
8.0.30.0110.00817.07
8.0.20.0090.00917.40
8.0.10.0000.00716.99
8.0.00.0140.00716.50
7.4.330.0000.00516.65
7.4.320.0060.00016.43
7.4.300.0000.00616.35
7.4.290.0000.00716.55
7.4.280.0030.00316.47
7.4.270.0000.00716.51
7.4.260.0000.00716.44
7.4.250.0040.00416.41
7.4.240.0080.00016.36
7.4.230.0070.00016.63
7.4.220.0040.00416.18
7.4.210.0050.01116.47
7.4.200.0000.00816.55
7.4.160.0120.00316.59
7.4.140.0100.01217.86
7.4.130.0100.00716.57
7.4.120.0060.01116.40
7.4.110.0140.00316.41
7.4.100.0160.00916.57
7.4.90.0140.00316.42
7.4.80.0150.00719.39
7.4.70.0100.00616.35
7.4.60.0090.00616.64
7.4.50.0040.00816.67
7.4.40.0090.00916.41
7.4.00.0030.01315.16
7.3.330.0000.00613.12
7.3.320.0050.00313.31
7.3.310.0040.00416.20
7.3.300.0060.00016.14
7.3.290.0040.00416.16
7.3.280.0110.00616.29
7.3.260.0100.00916.35
7.3.240.0100.00916.40
7.3.230.0090.01516.30
7.3.210.0070.01016.48
7.3.200.0060.00916.46
7.3.190.0180.00016.45
7.3.180.0130.00316.50
7.3.170.0060.01416.60
7.3.160.0090.00916.39
7.3.00.0290.00814.39
7.2.330.0090.00916.38
7.2.320.0100.01016.61
7.2.310.0110.00516.69
7.2.300.0100.00716.73
7.2.290.0050.01116.66
7.2.130.0550.00814.72
7.2.120.0460.00714.68
7.2.110.0380.00714.70
7.2.100.0430.00914.74
7.2.90.0410.01014.76
7.2.80.0430.00514.76
7.2.70.0360.00715.07
7.2.60.0260.01214.93
7.2.50.0270.01414.94
7.2.40.0250.01314.91
7.2.30.0330.01514.89
7.2.20.0370.00715.01
7.2.10.0360.01014.83
7.2.00.0730.00914.79
7.1.250.0330.00713.69
7.0.330.0320.00813.38
5.6.380.0120.00514.00

preferences:
62.72 ms | 401 KiB | 5 Q