3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php @$_[]=@!+_; $__=@${_}>>$_;var_dump($__); $_[]=$__;var_dump($_); $_[]=@_;var_dump($_); $_[((++$__)+($__++))].=$_;var_dump($_); $_[]=++$__;var_dump($_); $_[]=$_[--$__][$__>>$__];var_dump($_); $_[$__].=(($__+$__)+$_[$__-$__]).($__+$__+$__)+$_[$__-$__];var_dump($_); $_[$__+$__]=($_[$__][$__>>$__]).($_[$__][$__]^$_[$__][($__<<$__)-$__]);var_dump($_); $_[$__+$__].=($_[$__][($__<<$__)-($__/$__)])^($_[$__][$__]);var_dump($_); $_[$__+$__].=($_[$__][$__+$__])^$_[$__][($__<<$__)-$__];var_dump($_); print_r($_); //$_=$ //$_[$__+$__]; //$_[@-_]($_[@!+_]); ?>
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(0) array(2) { [0]=> bool(true) [1]=> int(0) } array(3) { [0]=> bool(true) [1]=> int(0) [2]=> string(1) "_" } Notice: Array to string conversion in /in/El4Mq on line 6 array(3) { [0]=> bool(true) [1]=> int(0) [2]=> string(6) "_Array" } array(4) { [0]=> bool(true) [1]=> int(0) [2]=> string(6) "_Array" [3]=> int(3) } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(6) "_Array" [3]=> int(3) [4]=> string(1) "_" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(1) "_" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(2) "_G" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(3) "_GE" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(4) "_GET" } Array ( [0] => 1 [1] => 0 [2] => _Array57 [3] => 3 [4] => _GET )
Output for 4.3.0 - 5.3.29
int(0) array(2) { [0]=> bool(true) [1]=> int(0) } array(3) { [0]=> bool(true) [1]=> int(0) [2]=> string(1) "_" } array(3) { [0]=> bool(true) [1]=> int(0) [2]=> string(6) "_Array" } array(4) { [0]=> bool(true) [1]=> int(0) [2]=> string(6) "_Array" [3]=> int(3) } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(6) "_Array" [3]=> int(3) [4]=> string(1) "_" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(1) "_" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(2) "_G" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(3) "_GE" } array(5) { [0]=> bool(true) [1]=> int(0) [2]=> string(8) "_Array57" [3]=> int(3) [4]=> string(4) "_GET" } Array ( [0] => 1 [1] => 0 [2] => _Array57 [3] => 3 [4] => _GET )