3v4l.org

run code in 300+ PHP versions simultaneously
<?php $totlahourdat1 = array(0=>"9:30",1=>"15:00",2=>"13:00"); natsort($totlahourdat1); var_export($totlahourdat1); echo "\n---\n"; sort($totlahourdat1, SORT_NATURAL); var_export($totlahourdat1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vpni0
function name:  (null)
number of ops:  16
compiled vars:  !0 = $totlahourdat1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'natsort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
    6     4        INIT_FCALL                                               'var_export'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    8     7        ECHO                                                     '%0A---%0A'
   10     8        INIT_FCALL                                               'sort'
          9        SEND_REF                                                 !0
         10        SEND_VAL                                                 6
         11        DO_ICALL                                                 
   11    12        INIT_FCALL                                               'var_export'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.8 ms | 1000 KiB | 16 Q