3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $res = "hola"; $res = preg_match("/hola/", $res, $chiche); var_dump($chiche);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YqHMc
function name:  (null)
number of ops:  14
compiled vars:  !0 = $res, !1 = $chiche
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'hola'
    6     4        INIT_FCALL                                               'preg_match'
          5        SEND_VAL                                                 '%2Fhola%2F'
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !1
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
    8    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.51 ms | 1394 KiB | 19 Q