3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str=rtrim($str); $str="ronak modi"; $str=preg_replace('/\s*$/','',$str); echo $str; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Um177
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'rtrim'
          1        SEND_VAR                                                 !0
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        ASSIGN                                                   !0, 'ronak++modi'
    4     5        INIT_FCALL                                               'preg_replace'
          6        SEND_VAL                                                 '%2F%5Cs%2A%24%2F'
          7        SEND_VAL                                                 ''
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    5    11        ECHO                                                     !0
    6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.9 ms | 1394 KiB | 17 Q