3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Size : Size 13 - 950-975 <br />Easygrip_Locking_System : No <br />Veranda_pole : No <br />Safelock_tie_down : No <br />Storm_Pole : No <br />Tall_Annexe : Yes <br />Inner_tent : Yes <br />"; if (preg_match_all ('~([a-z_]+) : (.+?) <br />~i', $string, $out, PREG_PATTERN_ORDER)) { extract(array_combine($out[1], $out[2])); echo "Size = $Size\n"; echo "Easygrip_Locking_System = $Easygrip_Locking_System\n"; echo "Veranda_pole = $Veranda_pole\n"; echo "Safelock_tie_down = $Safelock_tie_down\n"; echo "Storm_Pole = $Storm_Pole\n"; echo "Tall_Annexe = $Tall_Annexe\n"; echo "Inner_tent = $Inner_tent\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 45
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 45
filename:       /in/vjYiK
function name:  (null)
number of ops:  46
compiled vars:  !0 = $string, !1 = $out, !2 = $Size, !3 = $Easygrip_Locking_System, !4 = $Veranda_pole, !5 = $Safelock_tie_down, !6 = $Storm_Pole, !7 = $Tall_Annexe, !8 = $Inner_tent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Size+%3A+Size+13+-+950-975+%3Cbr+%2F%3EEasygrip_Locking_System+%3A+No+%3Cbr+%2F%3EVeranda_pole+%3A+No+%3Cbr+%2F%3ESafelock_tie_down+%3A+No+%3Cbr+%2F%3EStorm_Pole+%3A+No+%3Cbr+%2F%3ETall_Annexe+%3A+Yes+%3Cbr+%2F%3EInner_tent+%3A+Yes+%3Cbr+%2F%3E'
    4     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%7E%28%5Ba-z_%5D%2B%29+%3A+%28.%2B%3F%29+%3Cbr+%2F%3E%7Ei'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        SEND_VAL                                                 1
          6        DO_ICALL                                         $10     
          7      > JMPZ                                                     $10, ->45
    5     8    >   INIT_FCALL                                               'extract'
          9        INIT_FCALL                                               'array_combine'
         10        FETCH_DIM_R                                      ~11     !1, 1
         11        SEND_VAL                                                 ~11
         12        FETCH_DIM_R                                      ~12     !1, 2
         13        SEND_VAL                                                 ~12
         14        DO_ICALL                                         $13     
         15        SEND_VAL                                                 $13
         16        DO_ICALL                                                 
    7    17        ROPE_INIT                                     3  ~16     'Size+%3D+'
         18        ROPE_ADD                                      1  ~16     ~16, !2
         19        ROPE_END                                      2  ~15     ~16, '%0A'
         20        ECHO                                                     ~15
    8    21        ROPE_INIT                                     3  ~19     'Easygrip_Locking_System+%3D+'
         22        ROPE_ADD                                      1  ~19     ~19, !3
         23        ROPE_END                                      2  ~18     ~19, '%0A'
         24        ECHO                                                     ~18
    9    25        ROPE_INIT                                     3  ~22     'Veranda_pole+%3D+'
         26        ROPE_ADD                                      1  ~22     ~22, !4
         27        ROPE_END                                      2  ~21     ~22, '%0A'
         28        ECHO                                                     ~21
   10    29        ROPE_INIT                                     3  ~25     'Safelock_tie_down+%3D+'
         30        ROPE_ADD                                      1  ~25     ~25, !5
         31        ROPE_END                                      2  ~24     ~25, '%0A'
         32        ECHO                                                     ~24
   11    33        ROPE_INIT                                     3  ~28     'Storm_Pole+%3D+'
         34        ROPE_ADD                                      1  ~28     ~28, !6
         35        ROPE_END                                      2  ~27     ~28, '%0A'
         36        ECHO                                                     ~27
   12    37        ROPE_INIT                                     3  ~31     'Tall_Annexe+%3D+'
         38        ROPE_ADD                                      1  ~31     ~31, !7
         39        ROPE_END                                      2  ~30     ~31, '%0A'
         40        ECHO                                                     ~30
   13    41        ROPE_INIT                                     3  ~34     'Inner_tent+%3D+'
         42        ROPE_ADD                                      1  ~34     ~34, !8
         43        ROPE_END                                      2  ~33     ~34, '%0A'
         44        ECHO                                                     ~33
   14    45    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.76 ms | 1007 KiB | 16 Q