3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "Zoƫ O'Grady-Donald"; $meh = (bool) preg_match("/^[\pL\pN\pZ\p{Pd}\p{Po}]++$/uD",$test); var_dump($meh);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CuQ9K
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test, !1 = $meh
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Zo%C3%AB+O%27Grady-Donald'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%5B%5CpL%5CpN%5CpZ%5Cp%7BPd%7D%5Cp%7BPo%7D%5D%2B%2B%24%2FuD'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        BOOL                                             ~4      $3
          6        ASSIGN                                                   !1, ~4
    5     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.46 ms | 1394 KiB | 17 Q