3v4l.org

run code in 500+ PHP versions simultaneously
<?php $o = gmp_init(0); var_dump($o); $s = gmp_export($o); var_dump($s); $o2 = gmp_import($s); var_dump($o2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZCBqp
function name:  (null)
number of ops:  22
compiled vars:  !0 = $o, !1 = $s, !2 = $o2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                           'gmp_init'
          1        SEND_VAL_EX                                                  0
          2        DO_FCALL                                          0  $3      
          3        ASSIGN                                                       !0, $3
    4     4        INIT_FCALL                                                   'var_dump'
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                                     
    5     7        INIT_FCALL_BY_NAME                                           'gmp_export'
          8        SEND_VAR_EX                                                  !0
          9        DO_FCALL                                          0  $6      
         10        ASSIGN                                                       !1, $6
    6    11        INIT_FCALL                                                   'var_dump'
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                                     
    7    14        INIT_FCALL_BY_NAME                                           'gmp_import'
         15        SEND_VAR_EX                                                  !1
         16        DO_FCALL                                          0  $9      
         17        ASSIGN                                                       !2, $9
    8    18        INIT_FCALL                                                   'var_dump'
         19        SEND_VAR                                                     !2
         20        DO_ICALL                                                     
         21      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.34 ms | 477 KiB | 8 Q