3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = gmp_init('2'); $second = gmp_pow($first, '8589934592'); //Number of bits in 1GB echo strlen(gmp_strval($second));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YIAMK
function name:  (null)
number of ops:  15
compiled vars:  !0 = $first, !1 = $second
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'gmp_init'
          1        SEND_VAL_EX                                              '2'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL_BY_NAME                                       'gmp_pow'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAL_EX                                              '8589934592'
          7        DO_FCALL                                      0  $4      
          8        ASSIGN                                                   !1, $4
    5     9        INIT_FCALL_BY_NAME                                       'gmp_strval'
         10        SEND_VAR_EX                                              !1
         11        DO_FCALL                                      0  $6      
         12        STRLEN                                           ~7      $6
         13        ECHO                                                     ~7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.62 ms | 1393 KiB | 13 Q