3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'en_US'); var_dump((string) 3.4); setlocale(LC_ALL, 'de_DE'); var_dump((string) 3.4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/89Wu2
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'en_US'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_dump'
          5        CAST                                          6  ~1      3.4
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'setlocale'
          9        SEND_VAL                                                 6
         10        SEND_VAL                                                 'de_DE'
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        CAST                                          6  ~4      3.4
         14        SEND_VAL                                                 ~4
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
133.11 ms | 1394 KiB | 17 Q