3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/.*?(?<columnname>`.+?`|\S+)\s*(?<operator>=|<|>|<>)\s*(?<value>`.+?`|\S+)\s*(AND|OR)/', 'algo = asslgo AND caca=8', $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TOlHN
function name:  (null)
number of ops:  9
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F.%2A%3F%28%3F%3Ccolumnname%3E%60.%2B%3F%60%7C%5CS%2B%29%5Cs%2A%28%3F%3Coperator%3E%3D%7C%3C%7C%3E%7C%3C%3E%29%5Cs%2A%28%3F%3Cvalue%3E%60.%2B%3F%60%7C%5CS%2B%29%5Cs%2A%28AND%7COR%29%2F'
          2        SEND_VAL                                                 'algo+++++%3D++++asslgo+AND+caca%3D8'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
   10     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.52 ms | 1394 KiB | 17 Q