3v4l.org

run code in 500+ PHP versions simultaneously
<?php // String with slashes manually added: $arr = ["oh","me","oh","my!"]; $imploded = implode("\\ ",$arr); var_dump($imploded); $stripped = stripslashes( $imploded ); var_dump($stripped);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R3A5v
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arr, !1 = $imploded, !2 = $stripped
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                       !0, <array>
    6     1        FRAMELESS_ICALL_2                implode             ~4      '%5C+', !0
          2        ASSIGN                                                       !1, ~4
    7     3        INIT_FCALL                                                   'var_dump'
          4        SEND_VAR                                                     !1
          5        DO_ICALL                                                     
    9     6        INIT_FCALL                                                   'stripslashes'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                             $7      
          9        ASSIGN                                                       !2, $7
   10    10        INIT_FCALL                                                   'var_dump'
         11        SEND_VAR                                                     !2
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
225.37 ms | 2060 KiB | 15 Q