3v4l.org

run code in 300+ PHP versions simultaneously
<?php $displays = array( array( 'position' => 0, ), array( 'position' => 1, ), ); // Sort the displays. uasort($displays, function ($display1, $display2) { if ($display1['position'] != $display2['position']) { @new Exception ('bla'); return $display1['position'] < $display2['position'] ? -1 : 1; } return 0; });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qfSth
function name:  (null)
number of ops:  7
compiled vars:  !0 = $displays
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_FCALL                                               'uasort'
          2        SEND_REF                                                 !0
          3        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FqfSth%3A13%240'
   19     4        SEND_VAL                                                 ~2
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FqfSth%3A13%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 20
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qfSth
function name:  {closure}
number of ops:  22
compiled vars:  !0 = $display1, !1 = $display2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   14     2        FETCH_DIM_R                                      ~2      !0, 'position'
          3        FETCH_DIM_R                                      ~3      !1, 'position'
          4        IS_NOT_EQUAL                                             ~2, ~3
          5      > JMPZ                                                     ~4, ->20
   15     6    >   BEGIN_SILENCE                                    ~5      
          7        NEW                                              $6      'Exception'
          8        SEND_VAL_EX                                              'bla'
          9        DO_FCALL                                      0          
         10        END_SILENCE                                              ~5
         11        FREE                                                     $6
   16    12        FETCH_DIM_R                                      ~8      !0, 'position'
         13        FETCH_DIM_R                                      ~9      !1, 'position'
         14        IS_SMALLER                                               ~8, ~9
         15      > JMPZ                                                     ~10, ->18
         16    >   QM_ASSIGN                                        ~11     -1
         17      > JMP                                                      ->19
         18    >   QM_ASSIGN                                        ~11     1
         19    > > RETURN                                                   ~11
   18    20    > > RETURN                                                   0
   19    21*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FqfSth%3A13%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.72 ms | 1388 KiB | 15 Q