3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 1 => [ 'Date' => 2015-11-04 ], 2 => [ 'Date' => 2015-11-05 ] ]; usort($arr,'mySortDate'); function mySortDate($a,$b) { var_dump($a); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ki5Xf
function name:  (null)
number of ops:  6
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_FCALL                                               'usort'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 'mySortDate'
          4        DO_ICALL                                                 
   19     5      > RETURN                                                   1

Function mysortdate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ki5Xf
function name:  mySortDate
number of ops:  6
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   17     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   19     5      > RETURN                                                   null

End of function mysortdate

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.12 ms | 1394 KiB | 17 Q