3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.13 ms | 1394 KiB | 19 Q