3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.78 ms | 1394 KiB | 19 Q