3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.7 ms | 1385 KiB | 17 Q