3v4l.org

run code in 500+ PHP versions simultaneously
<?php // Text to hash $text = "Get#123"; // Generate bcrypt hash $hash = password_hash($text, PASSWORD_BCRYPT); // Output result echo "Original Text: " . $text . PHP_EOL; echo "Bcrypt Hash: " . $hash . PHP_EOL; ?> <?php // Text to hash $text = "Get#123"; // Generate bcrypt hash $hash = password_hash($text, PASSWORD_BCRYPT); // Output result echo "Original Text: " . $text . PHP_EOL; echo "Bcrypt Hash: " . $hash . PHP_EOL; ?>

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.0070.44419.42
8.5.20.0190.41216.29
8.5.10.0180.44716.29
8.5.00.0200.41216.68
8.4.180.0170.41819.28
8.4.170.0210.42719.31
8.4.160.0140.41819.44
8.4.150.0150.41219.45
8.4.140.0180.40817.51
8.4.130.0110.41417.65
8.4.120.0180.41417.60
8.4.110.0200.41317.70
8.4.100.0230.43217.52
8.4.90.0130.41417.59
8.4.80.0110.42117.63
8.4.70.0160.41417.54
8.4.60.0170.41117.38
8.4.50.0210.43217.83
8.4.40.0180.41617.42
8.4.30.0160.41817.43
8.4.20.0190.41217.49
8.4.10.0240.41117.42
8.3.300.0260.10718.10
8.3.290.0160.15718.29
8.3.280.0260.10817.98
8.3.270.0120.10916.75
8.3.260.0220.15516.46
8.3.250.0170.10416.50
8.3.240.0310.14016.39
8.3.230.0170.10516.68
8.3.220.0140.10716.75
8.3.210.0170.10716.56
8.3.200.0310.14416.43
8.3.190.0260.13916.65
8.3.180.0150.10716.56
8.3.170.0240.13716.68
8.3.160.0170.10616.49
8.3.150.0190.10616.59
8.3.140.0170.10516.54
8.3.130.0160.10516.53
8.3.120.0160.10716.54
8.3.110.0150.11116.73
8.3.100.0190.10416.43
8.3.90.0170.10716.38
8.3.80.0200.10816.66
8.3.70.0160.10816.71
8.3.60.0170.10716.80
8.3.50.0160.10716.91
8.3.40.0160.10717.93
8.3.30.0110.10917.79
8.3.20.0130.10617.79
8.3.10.0120.10817.79
8.3.00.0050.10718.04

preferences:
47.25 ms | 711 KiB | 5 Q