3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_errors', 1); var_dump((string)[123]); var_dump((int)[123]); var_dump((float)[123]); var_dump((bool)[123]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ibKnL
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'display_errors'
          2        SEND_VAL                                                 1
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'var_dump'
          5        CAST                                          6  ~1      <array>
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'var_dump'
          9        CAST                                          4  ~3      <array>
         10        SEND_VAL                                                 ~3
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        CAST                                          5  ~5      <array>
         14        SEND_VAL                                                 ~5
         15        DO_ICALL                                                 
    8    16        INIT_FCALL                                               'var_dump'
         17        BOOL                                             ~7      <array>
         18        SEND_VAL                                                 ~7
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.46 ms | 1395 KiB | 17 Q