3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sku = uft8_encode(base64_decode('MjM1Nkdy/G5fTUxWMV8y')); $match = array(); $r = preg_match('/(.*)_MLV([0-9]*)_([0-9]*)$/u', $sku, $match); var_dump($r); echo "\n"; print_r($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZU8cs
function name:  (null)
number of ops:  22
compiled vars:  !0 = $sku, !1 = $match, !2 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'uft8_encode'
          1        INIT_FCALL                                               'base64_decode'
          2        SEND_VAL                                                 'MjM1Nkdy%2FG5fTUxWMV8y'
          3        DO_ICALL                                         $3      
          4        SEND_VAR_NO_REF_EX                                       $3
          5        DO_FCALL                                      0  $4      
          6        ASSIGN                                                   !0, $4
    3     7        ASSIGN                                                   !1, <array>
    4     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%2F%28.%2A%29_MLV%28%5B0-9%5D%2A%29_%28%5B0-9%5D%2A%29%24%2Fu'
         10        SEND_VAR                                                 !0
         11        SEND_REF                                                 !1
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !2, $7
    6    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
    7    17        ECHO                                                     '%0A'
    8    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.58 ms | 1395 KiB | 21 Q