3v4l.org

run code in 500+ PHP versions simultaneously
<?php $unresponsives = [ [ "Customer", "172.52.46.75", "2022-04-01 16:20:45", "1817", "nxlog", "2328.02 Hours" ], [ "Customer", "172.25.89.45", "2022-04-01 16:20:45", "1817", "nxlog", "Undefined" ], [ "Customer", "172.19.10.94", "2022-04-01 16:20:45", "1817", "nxlog", "324.02 Hours" ], [ "Customer", "172.19.10.94", "2022-04-01 16:20:45", "1817", "nxlog", "2322.02 Hours" ], [ "Customer", "172.19.10.94", "2022-04-01 16:20:45", "1817", "nxlog", "Undefined" ], ]; usort( $unresponsives, fn($a, $b) => [$b[5] === 'Undefined', (float) $b[5]] <=> [$a[5] === 'Undefined', (float) $a[5]] ); var_export($unresponsives);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Nh4uG
function name:  (null)
number of ops:  10
compiled vars:  !0 = $unresponsives
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   46     1        INIT_FCALL                                                   'usort'
   47     2        SEND_REF                                                     !0
   48     3        DECLARE_LAMBDA_FUNCTION                              ~2      [0]
   52     4        SEND_VAL                                                     ~2
   46     5        DO_ICALL                                                     
   53     6        INIT_FCALL                                                   'var_export'
          7        SEND_VAR                                                     !0
          8        DO_ICALL                                                     
          9      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Nh4uG
function name:  {closure:/in/Nh4uG:48}
number of ops:  17
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   48     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
   49     2        FETCH_DIM_R                                          ~2      !1, 5
          3        IS_IDENTICAL                                         ~3      ~2, 'Undefined'
          4        INIT_ARRAY                                           ~4      ~3
          5        FETCH_DIM_R                                          ~5      !1, 5
          6        CAST                                              5  ~6      ~5
          7        ADD_ARRAY_ELEMENT                                    ~4      ~6
   51     8        FETCH_DIM_R                                          ~7      !0, 5
          9        IS_IDENTICAL                                         ~8      ~7, 'Undefined'
         10        INIT_ARRAY                                           ~9      ~8
         11        FETCH_DIM_R                                          ~10     !0, 5
         12        CAST                                              5  ~11     ~10
         13        ADD_ARRAY_ELEMENT                                    ~9      ~11
         14        SPACESHIP                                            ~12     ~4, ~9
         15      > RETURN                                                       ~12
   52    16*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.15 ms | 2021 KiB | 15 Q