3v4l.org

run code in 300+ PHP versions simultaneously
<?php $width = 1024; $height = 767; $gcd = gmp_intval(gmp_gcd($width, $height));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3GZP0
function name:  (null)
number of ops:  11
compiled vars:  !0 = $width, !1 = $height, !2 = $gcd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1024
          1        ASSIGN                                                   !1, 767
    3     2        INIT_FCALL_BY_NAME                                       'gmp_intval'
          3        INIT_FCALL_BY_NAME                                       'gmp_gcd'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $5      
          7        SEND_VAR_NO_REF_EX                                       $5
          8        DO_FCALL                                      0  $6      
          9        ASSIGN                                                   !2, $6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.82 ms | 1384 KiB | 13 Q