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" ], ]; $sortingArray = array_map(fn($a) => sscanf($a[5], '%f')[0] ?? PHP_INT_MAX, $unresponsives); array_multisort($sortingArray, SORT_DESC, $unresponsives); var_export($unresponsives);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BGguO
function name:  (null)
number of ops:  16
compiled vars:  !0 = $unresponsives, !1 = $sortingArray
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   46     1        INIT_FCALL                                                   'array_map'
          2        DECLARE_LAMBDA_FUNCTION                              ~3      [0]
          3        SEND_VAL                                                     ~3
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $4      
          6        ASSIGN                                                       !1, $4
   47     7        INIT_FCALL                                                   'array_multisort'
          8        SEND_REF                                                     !1
          9        SEND_VAL                                                     3
         10        SEND_REF                                                     !0
         11        DO_ICALL                                                     
   48    12        INIT_FCALL                                                   'var_export'
         13        SEND_VAR                                                     !0
         14        DO_ICALL                                                     
         15      > 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/BGguO
function name:  {closure:/in/BGguO:46}
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   46     0  E >   RECV                                                 !0      
          1        INIT_FCALL                                                   'sscanf'
          2        FETCH_DIM_R                                          ~1      !0, 5
          3        SEND_VAL                                                     ~1
          4        SEND_VAL                                                     '%25f'
          5        DO_ICALL                                             $2      
          6        FETCH_DIM_IS                                         ~3      $2, 0
          7        COALESCE                                             ~4      ~3
          8        QM_ASSIGN                                            ~4      9223372036854775807
          9      > RETURN                                                       ~4
         10*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
178.2 ms | 2010 KiB | 17 Q