3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_export(array_map('intval', [ null, // 0 true, // 1 false, // 0 '0', // 0 '1', // 1 '', // 0 [], // 0 [0], // 1 '\0', // 0 "\0" // 0 ]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vKEHC
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_export'
          1        INIT_FCALL                                                   'array_map'
          2        SEND_VAL                                                     'intval'
    4     3        SEND_VAL                                                     <array>
    3     4        DO_ICALL                                             $0      
    4     5        SEND_VAR                                                     $0
    3     6        DO_ICALL                                                     
   14     7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.35 ms | 1873 KiB | 15 Q