3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'CustomErrorLog "/errorlog wtf" hello bvc "jjrr" hello rrgg/x^$46/ "rggg£"'; preg_match('/"([^"]*)"|\S+/', $str, $matches); $errorLog = 'syslog:wtf'; var_dump(preg_match('/^syslog:/', $errorLog)); //var_dump(false !== strpos($errorLog, "syslog:"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iQmPQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str, !1 = $matches, !2 = $errorLog
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'CustomErrorLog+%22%2Ferrorlog+wtf%22+hello+bvc+%22jjrr%22++++hello+rrgg%2Fx%5E%2446%2F+%22rggg%C2%A3%22'
    6     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%22%28%5B%5E%22%5D%2A%29%22%7C%5CS%2B%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    7     6        ASSIGN                                                   !2, 'syslog%3Awtf'
    9     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%2F%5Esyslog%3A%2F'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                                 
   10    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.37 ms | 1386 KiB | 17 Q