3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = '123456789'; $b = '987654321'; $gcd = gmp_lcm($a, $b); echo gmp_strval($gcd);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sLrvf
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $gcd
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '123456789'
    4     1        ASSIGN                                                       !1, '987654321'
    5     2        INIT_FCALL_BY_NAME                                           'gmp_lcm'
          3        SEND_VAR_EX                                                  !0
          4        SEND_VAR_EX                                                  !1
          5        DO_FCALL                                          0  $5      
          6        ASSIGN                                                       !2, $5
    6     7        INIT_FCALL_BY_NAME                                           'gmp_strval'
          8        SEND_VAR_EX                                                  !2
          9        DO_FCALL                                          0  $7      
         10        ECHO                                                         $7
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.8 ms | 2099 KiB | 13 Q