3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hex = hash('crc32b',hash('md5',hash('sha256', "ala ma kota"))); echo $hex . " " . base_convert($hex,16,63);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
Fatal error: Uncaught ValueError: base_convert(): Argument #3 ($to_base) must be between 2 and 36 (inclusive) in /in/SDENZ:3 Stack trace: #0 /in/SDENZ(3): base_convert('b7c43d6a', 16, 63) #1 {main} thrown in /in/SDENZ on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.23, 7.1.0 - 7.1.33, 7.2.6 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Warning: base_convert(): Invalid `to base' (63) in /in/SDENZ on line 3 b7c43d6a

preferences:
84.33 ms | 408 KiB | 5 Q