3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.55 ms | 1394 KiB | 17 Q