3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bucket = preg_quote('lookmia-local-us', '/'); $bucket = 'lookmia-local-us'; preg_match("#$bucket#", 'https://lookmia-local-us.s3.amazonaws.com', $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LBXPj
function name:  (null)
number of ops:  18
compiled vars:  !0 = $bucket, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_quote'
          1        SEND_VAL                                                 'lookmia-local-us'
          2        SEND_VAL                                                 '%2F'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        ASSIGN                                                   !0, 'lookmia-local-us'
    5     6        INIT_FCALL                                               'preg_match'
          7        ROPE_INIT                                     3  ~6      '%23'
          8        ROPE_ADD                                      1  ~6      ~6, !0
          9        ROPE_END                                      2  ~5      ~6, '%23'
         10        SEND_VAL                                                 ~5
         11        SEND_VAL                                                 'https%3A%2F%2Flookmia-local-us.s3.amazonaws.com'
         12        SEND_REF                                                 !1
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.62 ms | 1386 KiB | 19 Q