3v4l.org

run code in 300+ PHP versions simultaneously
<?php // The normal way echo sha1('1981'); echo PHP_EOL; // Your way $str = mb_convert_encoding('1981', 'UTF-16LE'); echo $result = strtoupper(sha1($str));
Output for git.master, git.master_jit, rfc.property-hooks
ea1b37da89c9714afa6e8264911e12813c480b40 128C108C5FAEF01FE0774DB296D99F721F27BC33

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
61.3 ms | 401 KiB | 8 Q