3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 36; $y = 24; $gcd = gmp_gcd("36", "24"); echo gmp_intval($gcd) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Nnaol
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x, !1 = $y, !2 = $gcd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 36
          1        ASSIGN                                                   !1, 24
    4     2        INIT_FCALL_BY_NAME                                       'gmp_gcd'
          3        SEND_VAL_EX                                              '36'
          4        SEND_VAL_EX                                              '24'
          5        DO_FCALL                                      0  $5      
          6        ASSIGN                                                   !2, $5
    5     7        INIT_FCALL_BY_NAME                                       'gmp_intval'
          8        SEND_VAR_EX                                              !2
          9        DO_FCALL                                      0  $7      
         10        CONCAT                                           ~8      $7, '%0A'
         11        ECHO                                                     ~8
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.43 ms | 1393 KiB | 19 Q