3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "John": { "status":"Wait" }, "Jennifer": { "status":"Active" }, "James": { "status":"Active", "age":56, "count":10, "progress":0.0029857, "bad":0 } }'; var_export(array_column(json_decode($json, true), 'status'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/64LGK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A++++%22John%22%3A+%7B%0A++++++++%22status%22%3A%22Wait%22%0A++++%7D%2C%0A++++%22Jennifer%22%3A+%7B%0A++++++++%22status%22%3A%22Active%22%0A++++%7D%2C%0A++++%22James%22%3A+%7B%0A++++++++%22status%22%3A%22Active%22%2C%0A++++++++%22age%22%3A56%2C%0A++++++++%22count%22%3A10%2C%0A++++++++%22progress%22%3A0.0029857%2C%0A++++++++%22bad%22%3A0%0A++++%7D%0A%7D'
   19     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL                                               'array_column'
          3        INIT_FCALL                                               'json_decode'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        SEND_VAL                                                 'status'
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.56 ms | 1011 KiB | 16 Q