3v4l.org

run code in 300+ PHP versions simultaneously
<?php $out = file_get_contents("https://youtube.com"); $out = preg_replace('/https\:\/\/youtube.com/','https\:/\/www.youtube.com/'); echo $out;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e8dlc
function name:  (null)
number of ops:  11
compiled vars:  !0 = $out
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'https%3A%2F%2Fyoutube.com'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2Fhttps%5C%3A%5C%2F%5C%2Fyoutube.com%2F'
          6        SEND_VAL                                                 'https%5C%3A%2F%5C%2Fwww.youtube.com%2F'
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
    5     9        ECHO                                                     !0
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.36 ms | 1394 KiB | 17 Q