3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print '31149006153'; print "\n"; print strrev('31149006153'); print "\n"; print str_split('31149006153');
Output for 5.4.0 - 7.1.0
31149006153 35160094113 Notice: Array to string conversion in /in/MqBF3 on line 7 Array
Output for 5.0.0 - 5.3.29
31149006153 35160094113 Array
Output for 4.4.5 - 4.4.9
31149006153 35160094113 Fatal error: Call to undefined function: str_split() in /in/MqBF3 on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
31149006153 35160094113 Fatal error: Call to undefined function: str_split() in /in/MqBF3 on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
31149006153 35160094113 Fatal error: Call to undefined function: str_split() in /in/MqBF3 on line 7