3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 1,2,3); $array2 = array( 3,4,5); $_checked = isset( $array ) ? array_map( 'absint', $array ) : array_map( 'absint', $array2 ); print_r($_checked);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6A8Qv
function name:  (null)
number of ops:  20
compiled vars:  !0 = $array, !1 = $array2, !2 = $_checked
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ISSET_ISEMPTY_CV                                         !0
          3      > JMPZ                                                     ~5, ->10
          4    >   INIT_FCALL                                               'array_map'
          5        SEND_VAL                                                 'absint'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        QM_ASSIGN                                        ~7      $6
          9      > JMP                                                      ->15
         10    >   INIT_FCALL                                               'array_map'
         11        SEND_VAL                                                 'absint'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $8      
         14        QM_ASSIGN                                        ~7      $8
         15    >   ASSIGN                                                   !2, ~7
    7    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.61 ms | 1395 KiB | 17 Q