3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo() { try { throw new Exception('yeah'); } finally { return 1; } } print foo(); // print 1, no exception ?>

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.5.90.0090.00717.11
8.5.80.0120.00616.91
8.5.70.0110.00616.97
8.5.60.0120.00716.75
8.5.50.0100.00716.72
8.5.30.0100.00818.13
8.5.20.0100.00920.05
8.5.10.0110.00716.72
8.5.00.0130.01020.09
8.4.240.0100.01419.57
8.4.230.0120.00719.60
8.4.220.0080.01319.35
8.4.210.0050.00519.62
8.4.180.0100.01122.08
8.4.170.0120.01023.88
8.4.160.0110.00923.99
8.4.150.0090.00516.90
8.4.140.0100.01017.46
8.4.130.0160.00517.81
8.4.120.0130.00620.39
8.4.110.0150.00622.40
8.4.100.0140.00617.74
8.4.90.0090.00917.75
8.4.80.0220.00917.97
8.4.70.0190.00617.91
8.4.60.0410.01117.83
8.4.50.0400.00817.66
8.4.40.0380.01017.65
8.4.30.0400.00717.64
8.4.20.0440.00717.71
8.4.10.0430.01217.40
8.3.330.0070.00918.48
8.3.320.0120.00918.52
8.3.310.0060.00218.56
8.3.300.0110.01220.82
8.3.290.0130.00720.62
8.3.280.0130.00618.31
8.3.270.0120.00716.54
8.3.260.0120.00716.65
8.3.250.0130.00718.99
8.3.240.0130.00616.72
8.3.230.0120.00716.82
8.3.220.0200.00716.97
8.3.210.0180.01016.97
8.3.200.0360.00916.97
8.3.190.0400.00816.97
8.3.180.0320.00416.97
8.3.170.0420.00916.97
8.3.160.0380.01116.97
8.3.150.0380.01116.97
8.3.140.0410.00816.97
8.3.130.0360.00816.97
8.3.120.0320.01016.97
8.3.110.0350.01016.97
8.3.100.0370.01016.97
8.3.90.0400.01016.97
8.3.80.0310.00616.97
8.3.70.0390.01016.97
8.3.60.0390.00716.97
8.3.50.0430.00816.97
8.3.40.0340.00917.63
8.3.30.0340.00917.54
8.3.20.0380.01317.33
8.3.10.0330.00917.49
8.3.00.0340.01017.32
8.2.320.0100.01218.23
8.2.310.0130.00818.13
8.2.300.0120.00718.63
8.2.290.0130.00720.35
8.2.280.0280.00816.97
8.2.270.0330.00816.97
8.2.260.0330.00816.97
8.2.250.0290.01116.97
8.2.240.0320.01116.97
8.2.230.0290.01116.97
8.2.220.0160.00316.97
8.2.210.0200.00616.97
8.2.200.0250.00916.97
8.2.190.0350.00616.97
8.2.180.0330.00816.97
8.2.170.0390.01017.86
8.2.160.0340.01017.60
8.2.150.0320.01117.60
8.2.140.0300.01117.43
8.2.130.0330.01017.31
8.2.120.0310.00817.35
8.2.110.0380.00717.58
8.2.100.0300.00817.43
8.2.90.0300.00517.54
8.2.80.0360.00817.72
8.2.70.0330.00817.42
8.2.60.0380.00817.38
8.2.50.0460.00917.35
8.2.40.0350.00617.50
8.2.30.0270.01317.41
8.2.20.0350.01117.63
8.2.10.0290.00917.42
8.2.00.0220.00217.67
8.1.340.0130.00919.82

preferences:
66.46 ms | 878 KiB | 5 Q