3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = preg_replace('`^https\:`', 'http', 'http://google.com'); print $url;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7ViBB
function name:  (null)
number of ops:  8
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%60%5Ehttps%5C%3A%60'
          2        SEND_VAL                                                 'http'
          3        SEND_VAL                                                 'http%3A%2F%2Fgoogle.com'
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    4     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.98 ms | 1393 KiB | 15 Q