3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re_stop = '(stop)'; $line = 'stop'; if (preg_match('/' . $re_stop . '/',$line)) { $data_ln = 0; } print $data_ln; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/4Ct0t
function name:  (null)
number of ops:  12
compiled vars:  !0 = $re_stop, !1 = $line, !2 = $data_ln
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%28stop%29'
    5     1        ASSIGN                                                   !1, 'stop'
    8     2        INIT_FCALL                                               'preg_match'
          3        CONCAT                                           ~5      '%2F', !0
          4        CONCAT                                           ~6      ~5, '%2F'
          5        SEND_VAL                                                 ~6
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $7      
          8      > JMPZ                                                     $7, ->10
    9     9    >   ASSIGN                                                   !2, 0
   11    10    >   ECHO                                                     !2
   16    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.44 ms | 1394 KiB | 15 Q