3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<< EOB /** preloader colors **/ @preloader_bg: #0081ff; @preloader_color: #fff; /** layout **/ @body_bg_image_position: ~'left top'; @body_bg_image_repeat: ~'no-repeat'; @body_bg_image_cover: ~'auto'; @body_bg_image: ~''; EOB; preg_match_all("~^@([^:]+):[\~\s'\"]*([^;]+)['\";]*$~m", $str, $matches); var_dump(array_combine($matches[1], $matches[2]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hnJKN
function name:  (null)
number of ops:  16
compiled vars:  !0 = $str, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F%2A%2A+preloader+colors+%2A%2A%2F%0A%40preloader_bg%3A+%230081ff%3B%0A%40preloader_color%3A+%23fff%3B%0A%0A%2F%2A%2A+layout+%2A%2A%2F%0A%40body_bg_image_position%3A+%7E%27left+top%27%3B%0A%40body_bg_image_repeat%3A+%7E%27no-repeat%27%3B%0A%40body_bg_image_cover%3A+%7E%27auto%27%3B%0A%40body_bg_image%3A+%7E%27%27%3B'
   15     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%7E%5E%40%28%5B%5E%3A%5D%2B%29%3A%5B%5C%7E%5Cs%27%22%5D%2A%28%5B%5E%3B%5D%2B%29%5B%27%22%3B%5D%2A%24%7Em'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   16     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'array_combine'
          8        FETCH_DIM_R                                      ~4      !1, 1
          9        SEND_VAL                                                 ~4
         10        FETCH_DIM_R                                      ~5      !1, 2
         11        SEND_VAL                                                 ~5
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.29 ms | 1395 KiB | 19 Q