3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = [ 'key2' => ' abc ', 'key3' => false, 'key4' => true, 'key5' => null, ]; $body = filter_var($body, FILTER_CALLBACK, ['options' => 'trim']); var_export($body);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VW0bS
function name:  (null)
number of ops:  11
compiled vars:  !0 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 1024
          4        SEND_VAL                                                 <array>
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
   12     7        INIT_FCALL                                               'var_export'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.46 ms | 1394 KiB | 17 Q