3v4l.org

run code in 300+ PHP versions simultaneously
<?php function array_pg_escape($test_array) { return( array_map("pg_escape_string", $test_array) ); } print_r( array_pg_escape( array("a_b", "c", "d_e") ) ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NIR2O
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'print_r'
    7     1        INIT_FCALL                                               'array_pg_escape'
          2        SEND_VAL                                                 <array>
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
   10     6      > RETURN                                                   1

Function array_pg_escape:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NIR2O
function name:  array_pg_escape
number of ops:  7
compiled vars:  !0 = $test_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'array_map'
          2        SEND_VAL                                                 'pg_escape_string'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
    4     6*     > RETURN                                                   null

End of function array_pg_escape

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.62 ms | 1397 KiB | 18 Q