3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('#\bphp\b#u', '1php1', $m); print_r($m); echo PCRE_VERSION . PHP_EOL; echo setlocale(LC_ALL, 0); //print_r(preg_last_error());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/akuF2
function name:  (null)
number of ops:  15
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%23%5Cbphp%5Cb%23u'
          2        SEND_VAL                                                 '1php1'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    5     8        ECHO                                                     '10.35+2020-05-09%0A'
    6     9        INIT_FCALL                                               'setlocale'
         10        SEND_VAL                                                 6
         11        SEND_VAL                                                 0
         12        DO_ICALL                                         $3      
         13        ECHO                                                     $3
    7    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.75 ms | 1385 KiB | 19 Q