3v4l.org

run code in 300+ PHP versions simultaneously
<?php $orig_dec = 66251125; $dec2bin = decbin($orig_dec); $bin2dec = bindec($dec2bin); echo "original decimal number: $orig_dec <br>"; echo "new binary number: $dec2bin <br>"; echo "back to decimal: $bin2dec <br>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cQS9u
function name:  (null)
number of ops:  22
compiled vars:  !0 = $orig_dec, !1 = $dec2bin, !2 = $bin2dec
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 66251125
    3     1        INIT_FCALL                                               'decbin'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        INIT_FCALL                                               'bindec'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    6     9        ROPE_INIT                                     3  ~9      'original+decimal+number%3A+'
         10        ROPE_ADD                                      1  ~9      ~9, !0
         11        ROPE_END                                      2  ~8      ~9, '+%3Cbr%3E'
         12        ECHO                                                     ~8
    7    13        ROPE_INIT                                     3  ~12     'new+binary+number%3A+'
         14        ROPE_ADD                                      1  ~12     ~12, !1
         15        ROPE_END                                      2  ~11     ~12, '+%3Cbr%3E'
         16        ECHO                                                     ~11
    8    17        ROPE_INIT                                     3  ~15     'back+to+decimal%3A+'
         18        ROPE_ADD                                      1  ~15     ~15, !2
         19        ROPE_END                                      2  ~14     ~15, '+%3Cbr%3E'
         20        ECHO                                                     ~14
    9    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.76 ms | 1395 KiB | 17 Q