3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = [ '1' , '2', '3' ]; rsort( array_map($test, 'intval') ); var_dump($test);
based on 35BBn
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/7EtEL
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, <array>
   7     1        INIT_FCALL                                               'rsort'
         2        INIT_FCALL                                               'array_map'
         3        SEND_VAR                                                 !0
   8     4        SEND_VAL                                                 'intval'
         5        DO_ICALL                                         $2      
         6        SEND_VAR_NO_REF                               0          $2
         7        DO_ICALL                                                 
  11     8        INIT_FCALL                                               'var_dump'
         9        SEND_VAR                                                 !0
        10        DO_ICALL                                                 
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0