3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = array('color.box' => 'red', 'some-var' => 'yes', 'valid' => 'ok'); extract($a); var_dump(${"color.box"}); var_dump(${"some-var"}); var_dump(${"valid"});
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rWKTJ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $color.box, !2 = $some-var, !3 = $valid
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        INIT_FCALL                                                   'extract'
          2        SEND_REF                                                     !0
          3        DO_ICALL                                                     
    6     4        INIT_FCALL                                                   'var_dump'
          5        SEND_VAR                                                     !1
          6        DO_ICALL                                                     
    7     7        INIT_FCALL                                                   'var_dump'
          8        SEND_VAR                                                     !2
          9        DO_ICALL                                                     
    8    10        INIT_FCALL                                                   'var_dump'
         11        SEND_VAR                                                     !3
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.66 ms | 3440 KiB | 14 Q