3v4l.org

run code in 300+ PHP versions simultaneously
<?php $REF_SEARCH = '/[\$%@][a-zA-Z0-9_\.]+/'; $REF_PARSE = '/^([\$%@])([a-zA-Z0-9_\.]+)/'; //todo or statement $smnt = '$sqwee.seqeqe|%_sdae.ss'; $search = preg_match_all($REF_SEARCH, $smnt, $searched); print_r($searched); $pl = preg_match($REF_PARSE, $smnt, $matched); print_r($matched);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UI9YE
function name:  (null)
number of ops:  22
compiled vars:  !0 = $REF_SEARCH, !1 = $REF_PARSE, !2 = $smnt, !3 = $search, !4 = $searched, !5 = $pl, !6 = $matched
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '%2F%5B%5C%24%25%40%5D%5Ba-zA-Z0-9_%5C.%5D%2B%2F'
    5     1        ASSIGN                                                   !1, '%2F%5E%28%5B%5C%24%25%40%5D%29%28%5Ba-zA-Z0-9_%5C.%5D%2B%29%2F'
    7     2        ASSIGN                                                   !2, '%24sqwee.seqeqe%7C%25_sdae.ss'
    9     3        INIT_FCALL                                               'preg_match_all'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !2
          6        SEND_REF                                                 !4
          7        DO_ICALL                                         $10     
          8        ASSIGN                                                   !3, $10
   12     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !4
         11        DO_ICALL                                                 
   14    12        INIT_FCALL                                               'preg_match'
         13        SEND_VAR                                                 !1
         14        SEND_VAR                                                 !2
         15        SEND_REF                                                 !6
         16        DO_ICALL                                         $13     
         17        ASSIGN                                                   !5, $13
   16    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !6
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.74 ms | 1395 KiB | 19 Q