3v4l.org

run code in 500+ PHP versions simultaneously
<?php $n = "66288484664777839292466735359294353535658376759494957"; echo bcsqrt(bcsqrt($n, 50), 50);

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.70.0100.00818.84
8.5.60.0090.00817.05
8.5.50.0090.00816.68
8.5.30.0100.00719.29
8.5.20.0130.00520.12
8.5.10.0040.00316.68
8.5.00.0120.00919.79
8.4.210.0160.00521.11
8.4.180.0120.00919.64
8.4.170.0130.00920.50
8.4.160.0110.01122.55
8.4.150.0080.00516.87
8.4.140.0110.01017.27
8.4.130.0100.00718.74
8.4.120.0080.00320.46
8.4.110.0100.00720.40
8.4.100.0140.00617.53
8.4.90.0110.00920.40
8.4.80.0080.01222.60
8.4.70.0110.01118.89
8.4.60.0050.00420.56
8.4.50.0110.01020.34
8.4.40.0160.00317.60
8.4.30.0050.00322.46
8.4.20.0100.01021.16
8.4.10.0110.00819.49
8.3.300.0120.00920.68
8.3.290.0120.00820.76
8.3.280.0090.01118.14
8.3.270.0150.00716.47
8.3.260.0080.00716.79
8.3.250.0120.00617.23
8.3.240.0120.00716.63
8.3.230.0120.00716.43
8.3.220.0090.00618.57
8.3.210.0110.00816.50
8.3.200.0030.00516.47
8.3.190.0120.00517.11
8.3.180.0080.01118.91
8.3.170.0150.00416.86
8.3.160.0120.00618.13
8.3.150.0120.00617.31
8.3.140.0110.00316.32
8.3.130.0470.00016.18
8.3.120.0310.00616.47
8.3.110.0350.00916.71
8.3.100.0330.01316.48
8.3.90.0420.00816.61
8.3.80.0290.01216.60
8.3.70.0370.01016.37
8.3.60.0360.01216.47
8.3.50.0320.01216.21
8.3.40.0270.00617.51
8.3.30.0220.01217.40
8.3.20.0260.00917.09
8.3.10.0250.01317.50
8.3.00.0150.00817.15
8.2.300.0140.00820.45
8.2.290.0040.00516.94
8.2.280.0110.00919.86
8.2.270.0070.01118.22
8.2.260.0080.00817.01
8.2.250.0320.00716.32
8.2.240.0240.01416.29
8.2.230.0330.00416.32
8.2.220.0200.00816.46
8.2.210.0170.00816.45
8.2.200.0210.00016.27
8.2.190.0310.00616.33
8.2.180.0310.00516.50
8.2.170.0350.01017.59
8.2.160.0260.01117.61
8.2.150.0330.00617.36
8.2.140.0350.00617.13
8.2.130.0210.01417.34
8.2.120.0330.01217.59
8.2.110.0340.00317.62
8.2.100.0270.01017.51
8.2.90.0300.01117.39
8.2.80.0260.01517.40
8.2.70.0290.01117.19
8.2.60.0380.00317.33
8.2.50.0380.00317.41
8.2.40.0330.00617.39
8.2.30.0220.01017.27
8.2.20.0220.00717.28
8.2.10.0310.00717.32
8.2.00.0260.01317.26
8.1.340.0140.00920.14
8.1.330.0100.00817.82
8.1.320.0090.01016.12
8.1.310.0000.00816.71
8.1.300.0380.00716.18
8.1.290.0310.00816.18
8.1.280.0280.01216.18
8.1.270.0330.00917.11
8.1.260.0350.00717.14
8.1.250.0270.01417.24
8.1.240.0340.00317.21
8.1.230.0330.00317.23
8.1.220.0280.00917.06
8.1.210.0360.00417.13
8.1.200.0250.01616.93
8.1.190.0330.00417.01
8.1.180.0280.00817.02
8.1.170.0320.00617.03
8.1.160.0260.00817.17
8.1.150.0120.01916.92
8.1.140.0260.01217.03
8.1.130.0340.00316.94
8.1.120.0260.01017.12
8.1.110.0360.00317.02
8.1.100.0300.00717.14
8.1.90.0340.00616.91
8.1.80.0240.00717.19
8.1.70.0110.01117.03
8.1.60.0080.01217.16
8.1.50.0180.00517.12
8.1.40.0380.00317.19
8.1.30.0240.00517.09
8.1.20.0130.00617.31
8.1.10.0190.00517.02
8.1.00.0210.00017.03

preferences:
61.34 ms | 997 KiB | 5 Q