3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set("precision", 20); $x = 3.4; //float var_dump($x); $tmp = $x; var_dump($tmp); $tmp = array($x); var_dump($tmp); /* array (size=1) 0 => float 3.4 */ $tmp = array(array($x)); var_dump($tmp); /* array ( 0 => array ( 0 => 3.3999999999999999, ), ) */
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9LqGu
function name:  (null)
number of ops:  24
compiled vars:  !0 = $x, !1 = $tmp
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'precision'
          2        SEND_VAL                                                     20
          3        DO_ICALL                                                     
    5     4        ASSIGN                                                       !0, 3.4
    6     5        INIT_FCALL                                                   'var_dump'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                                     
    8     8        ASSIGN                                                       !1, !0
    9     9        INIT_FCALL                                                   'var_dump'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                                     
   11    12        INIT_ARRAY                                           ~7      !0
         13        ASSIGN                                                       !1, ~7
   12    14        INIT_FCALL                                                   'var_dump'
         15        SEND_VAR                                                     !1
         16        DO_ICALL                                                     
   17    17        INIT_ARRAY                                           ~10     !0
         18        INIT_ARRAY                                           ~11     ~10
         19        ASSIGN                                                       !1, ~11
   18    20        INIT_FCALL                                                   'var_dump'
         21        SEND_VAR                                                     !1
         22        DO_ICALL                                                     
   21    23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
207.59 ms | 2039 KiB | 10 Q