3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'fr_FR.UTF-8', 'fr_FR.UTF8', 'fr_FR'); var_dump(array(12.3), json_decode('[12.3]', true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MjNGk
function name:  (null)
number of ops:  15
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                                                 'fr_FR.UTF-8'
          3        SEND_VAL                                                 'fr_FR.UTF8'
          4        SEND_VAL                                                 'fr_FR'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 <array>
          8        INIT_FCALL                                               'json_decode'
          9        SEND_VAL                                                 '%5B12.3%5D'
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                         $1      
         12        SEND_VAR                                                 $1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.96 ms | 1394 KiB | 19 Q