3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo hash('sha256','qwertyuiopasdfghjklzxcvbnm12345'); //31 symbol echo "\n"; echo hash('sha256','qwertyuiopasdfghjklzxcvbnm12345asdfghjklzxcvbnmcvcvxcvcvxcvxcvcvv'); //65 symbol echo "\n"; echo hash('sha256','qwertyuiopasdfghjklzxcvbnm12345asdfghjklzxcvbnmcvcvxcvcvxcvxcvc23'); //65 symbol, changed last 2
Output for 5.1.2 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.37, 5.6.0 - 5.6.23, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
44bc060901989dc5c0d4707e93a2e6bee6e09b21dab51fa8a17ac346a1e4141d 13694a365c88c8b98c380757484f5e0c71b83867810f273c57e6a14b96a5dde9 feb83c040eee1bbdbb2771a1695b17143d5962f9ae0c99f03810b9d74029cb5b
Output for 5.0.0 - 5.0.5, 5.1.1
Fatal error: Call to undefined function hash() in /in/ZTHTg on line 3
Process exited with code 255.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/ZTHTg on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/ZTHTg on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/ZTHTg on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/ZTHTg on line 3

preferences:
325.3 ms | 401 KiB | 388 Q