3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(str_cmp("eyJpdiI6Ijc4MlJrMmdLMWJGTjJKZHE3VTVEMGc9PSIsInZhbHVlIjoiQmVaTGlUUVFUZTZXTGhrS3duaGlcL2F1cDlPMG4rcWZRM0RCdzRab1JBamt1ZEx1clA2eTNGdVhtUFZ5R0RTeXZLNFBWaGp5MzE4SnppZGZKTXR1eW5RPT0iLCJtYWMiOiI2NDBjYzZhYTM4YjUxODg1NzcwOGY5NGE5YjcwODc1MmVlYjY1ZTEwMjRkOTI2MzlhODA0ZDllN2M5ZTU1YmUwIn0%3D","eyJpdiI6Ijc4MlJrMmdLMWJGTjJKZHE3VTVEMGc9PSIsInZhbHVlIjoiQmVaTGlUUVFUZTZXTGhrS3duaGlcL2F1cDlPMG4rcWZRM0RCdzRab1JBamt1ZEx1clA2eTNGdVhtUFZ5R0RTeXZLNFBWaGp5MzE4SnppZGZKTXR1eW5RPT0iLCJtYWMiOiI2NDBjYzZhYTM4YjUxODg1NzcwOGY5NGE5YjcwODc1MmVlYjY1ZTEwMjRkOTI2MzlhODA0ZDllN2M5ZTU1YmUwIn0%3D"));
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function str_cmp() in /in/4I8G0:3 Stack trace: #0 {main} thrown in /in/4I8G0 on line 3
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Fatal error: Call to undefined function str_cmp() in /in/4I8G0 on line 3
Process exited with code 255.