3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 123.45; $b = 1; $ans = floatval($a) / floatval($b); var_dump($ans); $post_key = mt_rand(); var_dump($post_key); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sKmhH
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b, !2 = $ans, !3 = $post_key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 123.45
    5     1        ASSIGN                                                   !1, 1
    7     2        CAST                                          5  ~6      !0
          3        CAST                                          5  ~7      !1
          4        DIV                                              ~8      ~6, ~7
          5        ASSIGN                                                   !2, ~8
    8     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                                 
   10     9        INIT_FCALL                                               'mt_rand'
         10        DO_ICALL                                         $11     
         11        ASSIGN                                                   !3, $11
   11    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !3
         14        DO_ICALL                                                 
   15    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.74 ms | 1386 KiB | 17 Q