3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['F', 'z', '0.3', 4, '.5', '4']; $b = ['F', 'z', '.5', 4, '4', '0.3']; sort($a); sort($b); assert($a === $b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iU6nt
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'sort'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    6     5        INIT_FCALL                                               'sort'
          6        SEND_REF                                                 !1
          7        DO_ICALL                                                 
    7     8        ASSERT_CHECK                                             
          9        INIT_FCALL                                               'assert'
         10        IS_IDENTICAL                                     ~6      !0, !1
         11        SEND_VAL                                                 ~6
         12        SEND_VAL                                                 'assert%28%24a+%3D%3D%3D+%24b%29'
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
288.48 ms | 1010 KiB | 15 Q