3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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); ?>
based on NveD3
Finding entry points
Branch analysis from position: 0
Jump 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 7.3.0