3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=bcadd('1234567890123456789012345678901234567890','1000000000000000000000000000000000000000'); echo $a;

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.30.0100.00717.98
8.5.20.0120.00720.34
8.5.10.0160.00516.86
8.5.00.0120.01119.73
8.4.180.0110.01219.61
8.4.170.0140.00923.86
8.4.160.0130.01022.05
8.4.150.0070.00516.88
8.4.140.0090.01217.22
8.4.130.0080.01317.64
8.4.120.0050.00520.36
8.4.110.0080.01118.73
8.4.100.0130.00817.55
8.4.90.0110.00917.66
8.4.80.0100.00717.56
8.4.70.0380.01117.41
8.4.60.0370.00917.57
8.4.50.0400.00717.58
8.4.40.0390.01017.40
8.4.30.0410.00917.28
8.4.20.0390.01017.21
8.4.10.0450.00517.09
8.3.300.0120.00920.92
8.3.290.0110.00820.65
8.3.280.0140.00518.13
8.3.270.0140.00516.50
8.3.260.0070.01216.62
8.3.250.0120.00818.69
8.3.240.0110.01016.21
8.3.230.0130.00616.39
8.3.220.0130.00518.29
8.3.210.0370.00416.37
8.3.200.0300.00616.39
8.3.190.0320.00716.29
8.3.180.0350.00816.20
8.3.170.0420.00716.20
8.3.160.0380.00716.36
8.3.150.0370.00916.30
8.3.140.0390.00716.20
8.3.130.0330.00916.24
8.3.120.0280.01216.49
8.3.110.0320.00716.33
8.3.100.0400.00916.30
8.3.90.0390.00716.20
8.3.80.0500.00916.20
8.3.70.0310.01216.30
8.3.60.0330.01016.29
8.3.50.0320.01516.20
8.3.40.0300.00617.43
8.3.30.0180.00417.46
8.3.20.0190.01017.31
8.3.10.0280.00617.23
8.3.00.0150.00617.38
8.2.300.0110.00920.30
8.2.290.0030.00618.95
8.2.280.0210.00316.60
8.2.270.0330.00816.36
8.2.260.0370.00416.22
8.2.250.0320.00916.44
8.2.240.0290.00916.40
8.2.230.0220.00716.20
8.2.220.0300.00716.48
8.2.210.0330.00916.20
8.2.200.0370.00316.40
8.2.190.0270.01216.54
8.2.180.0330.00516.38
8.2.170.0370.00517.54
8.2.160.0310.01117.52
8.2.150.0350.00617.52
8.2.140.0310.01117.45
8.2.130.0360.00817.59
8.2.120.0370.01017.58
8.2.110.0370.00617.46
8.2.100.0400.00317.37
8.2.90.0510.00917.48
8.2.80.0360.00917.57
8.2.70.0280.00917.25
8.2.60.0300.01117.51
8.2.50.0330.00617.57
8.2.40.0300.01017.63
8.2.30.0390.00917.45
8.2.20.0260.01217.53
8.2.10.0310.00317.45
8.2.00.0250.00717.60
8.1.340.0120.01121.76

preferences:
42.68 ms | 842 KiB | 5 Q