3v4l.org

run code in 300+ PHP versions simultaneously
<?php //var_dump(false); /*preg_match('@^(?:http://)?([^/]+)@i','http://www.php.net/index.html',$matches); ${"a"} = $matches[1]; &$a = 12; echo &$a; var_export(${"a"});*/ /*echo ${"a"};*/ /*trait Foo { private $name = '123'; } class Bar { //use Foo; private static $name = '321'; public static function getName(){return static::$name;} } */ echo sprintf(' "%04d"', 1); /* class Foo extends Bar{private static $name='123';} $bar = new Foo(); $bar::getName();*/ /*echo false; class Faz {var $t;} $i = new Faz(); echo $i->t;/* class Baz extends Faz {} interface Foo {public function du(Faz $param);} class A implements Foo { public function du(Baz $param){ echo false; } }*//* $i = 5; echo $i++; echo $i;*/ /* namespace Bar; function strlen($string){return 5;} namespace Foo; use Bar; echo strlen('Baz');*/ //var_dump(array_values(ksort(array('re'=>'asd', '3'=>'asda')))); //echo true;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qcc42
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   INIT_FCALL                                               'sprintf'
          1        SEND_VAL                                                 '+%22%2504d%22'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
   58     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.18 ms | 1393 KiB | 15 Q