3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_ = ''; $_[+$_]++; $_ = $_ . ''; $__ = $_[+'']; $_ = $__; $___ = $_; $__ = $_; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $___ .= $__; $___ .= $__; $__ = $_; $__++; $__++; $__++; $__++; $___ .= $__; $__ = $_; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $___ .= $__; $__ = $_; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $___ .= $__; $____ = '_'; $__ = $_; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $__++; $____ .= $__; $__ = $_; $__++; $__++; $__++; $__;
based on qb1CW
Output for 7.1.0 - 7.3.0beta1
Warning: A non-numeric value encountered in /in/ZmM3V on line 4 Fatal error: Uncaught Error: Cannot increment/decrement string offsets in /in/ZmM3V:4 Stack trace: #0 {main} thrown in /in/ZmM3V on line 4
Process exited with code 255.
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.27
Notice: Undefined offset: 0 in /in/ZmM3V on line 4 Notice: Array to string conversion in /in/ZmM3V on line 5
Output for hhvm-3.22.0
Notice: Array to string conversion in /in/ZmM3V on line -1
Output for hhvm-3.18.5 - 3.21.3
Notice: Array to string conversion in /in/ZmM3V on line 5