3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 't1' => time(), 't2' => time() ); var_dump($arr); natsort($arr); var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iGBku
function name:  (null)
number of ops:  17
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $1      
          2        INIT_ARRAY                                       ~2      $1, 't1'
    4     3        INIT_FCALL                                               'time'
          4        DO_ICALL                                         $3      
          5        ADD_ARRAY_ELEMENT                                ~2      $3, 't2'
    2     6        ASSIGN                                                   !0, ~2
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'natsort'
         11        SEND_REF                                                 !0
         12        DO_ICALL                                                 
    8    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.38 ms | 1385 KiB | 19 Q