3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static $string = 'Hello\0 World'; } echo Test::$string; echo date("Y\0/m/d");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ERGio
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   FETCH_STATIC_PROP_R          unknown             ~0      'string'
          1        ECHO                                                     ~0
    7     2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'Y%00%2Fm%2Fd'
          4        DO_ICALL                                         $1      
          5        ECHO                                                     $1
          6      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.49 ms | 1393 KiB | 15 Q