3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $privateKey = 'a8d9d8ad02f36b7845035b3b7df57b96'; echo hash_hmac('sha256', $this->getRequest()->getMethod() . urldecode('http://mjanik.vgnett.no/rose/rest/api/v1/customer'), $privateKey);
based on DDvMV
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Using $this when not in object context in /in/uhWp9:5 Stack trace: #0 {main} thrown in /in/uhWp9 on line 5
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Using $this when not in object context in /in/uhWp9 on line 5
Process exited with code 255.