3v4l.org

run code in 300+ PHP versions simultaneously
<?php class StringUtils { public static function crlfize($str) { return str_replace("\n", "\r\n", $str); } } $ini = <<<'INI' [4FABE013BD2443C0BB80BBA89FF7AF6A] post_content = "$a " INI; var_dump($ini);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1dj9L
function name:  (null)
number of ops:  5
compiled vars:  !0 = $ini
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN                                                   !0, '%5B4FABE013BD2443C0BB80BBA89FF7AF6A%5D%0Apost_content+%3D+%22%24a%0A%22'
   17     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
          4      > RETURN                                                   1

Class StringUtils:
Function crlfize:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1dj9L
function name:  crlfize
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAL                                                 '%0D%0A'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6      > RETURN                                                   $1
    6     7*     > RETURN                                                   null

End of function crlfize

End of class StringUtils.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.27 ms | 1394 KiB | 17 Q