3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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/gitkJ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $x, !1 = $tmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 3.4
    4     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    6     4        ASSIGN                                                   !1, !0
    7     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    9     8        INIT_ARRAY                                       ~6      !0
          9        ASSIGN                                                   !1, ~6
   10    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
   15    13        INIT_ARRAY                                       ~9      !0
         14        INIT_ARRAY                                       ~10     ~9
         15        ASSIGN                                                   !1, ~10
   16    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                                 
   19    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.24 ms | 1394 KiB | 15 Q