3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = gmp_init(10); var_dump($o < 15.3); $fruits = array($o, 15.3); sort($fruits);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/64TZU
function name:  (null)
number of ops:  15
compiled vars:  !0 = $o, !1 = $fruits
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'gmp_init'
          1        SEND_VAL_EX                                              10
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'var_dump'
          5        IS_SMALLER                                       ~4      !0, 15.3
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                                 
    5     8        INIT_ARRAY                                       ~6      !0
          9        ADD_ARRAY_ELEMENT                                ~6      15.3
         10        ASSIGN                                                   !1, ~6
    6    11        INIT_FCALL                                               'sort'
         12        SEND_REF                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.82 ms | 1001 KiB | 15 Q