3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.42 ms | 1393 KiB | 17 Q