3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1,2, "2", 3, 1]; array_multisort($a, SORT_NUMERIC) // $ar = array( // array("10", 11, 100, 100, "a"), // array( 1, 2, "2", 3, 1) // ); // array_multisort($ar[0], SORT_ASC, SORT_STRING, // $ar[1], SORT_NUMERIC, SORT_DESC); // var_dump($ar); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QkBe0
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'array_multisort'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 1
          4        DO_ICALL                                                 
   14     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.42 ms | 1385 KiB | 15 Q