3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 1103515246*12345; echo $x." ".decbin($x)."</BR>"; $y = $x % (1 << 15); echo $y." ".decbin($y)."</BR>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IMTtS
function name:  (null)
number of ops:  18
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 13622895711870
    3     1        CONCAT                                           ~3      !0, '+'
          2        INIT_FCALL                                               'decbin'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        CONCAT                                           ~5      ~3, $4
          6        CONCAT                                           ~6      ~5, '%3C%2FBR%3E'
          7        ECHO                                                     ~6
    4     8        MOD                                              ~7      !0, 32768
          9        ASSIGN                                                   !1, ~7
    5    10        CONCAT                                           ~9      !1, '+'
         11        INIT_FCALL                                               'decbin'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $10     
         14        CONCAT                                           ~11     ~9, $10
         15        CONCAT                                           ~12     ~11, '%3C%2FBR%3E'
         16        ECHO                                                     ~12
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.97 ms | 1394 KiB | 15 Q