3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=1 ; echo strpos(log(($int^pow(2,ceil(log($int, 2)))-1)+1,2),'.');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hce3h
function name:  (null)
number of ops:  25
compiled vars:  !0 = $i, !1 = $int
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        INIT_FCALL                                               'strpos'
          2        INIT_FCALL                                               'log'
          3        INIT_FCALL                                               'pow'
          4        SEND_VAL                                                 2
          5        INIT_FCALL                                               'ceil'
          6        INIT_FCALL                                               'log'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                         $5      
         14        SUB                                              ~6      $5, 1
         15        BW_XOR                                           ~7      !1, ~6
         16        ADD                                              ~8      ~7, 1
         17        SEND_VAL                                                 ~8
         18        SEND_VAL                                                 2
         19        DO_ICALL                                         $9      
         20        SEND_VAR                                                 $9
         21        SEND_VAL                                                 '.'
         22        DO_ICALL                                         $10     
         23        ECHO                                                     $10
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.19 ms | 1395 KiB | 21 Q