3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $keyId = '077961391017d549'; $keyId = str_replace(array(' ', '-'), '', $keyId); $keyId = $this->hex2bin($keyId); var_dump(strlen($keyId));
based on gsgct
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Using $this when not in object context in /in/tSls3:5 Stack trace: #0 {main} thrown in /in/tSls3 on line 5
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Using $this when not in object context in /in/tSls3 on line 5
Process exited with code 255.