3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $bytes = openssl_random_pseudo_bytes(100); echo strlen($text); # počet bytů echo "\n"; echo mb_strlen($text); # počet znaků echo "\n";
based on F91U1
Output for 5.4.15 - 7.2.0
Notice: Undefined variable: text in /in/3FVCJ on line 5 0 Notice: Undefined variable: text in /in/3FVCJ on line 7 0
Output for 5.3.21 - 5.4.14
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/3FVCJ on line 3
Process exited with code 255.