3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '<iframe src="https://www.google.com/maps/embed?pb=!1m10!1m8!1m3!1d2667.0525139773754!2d38.027218326585825!3d48.05132379575402!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sru!2s!4v1397237756729" width="600" height="450" frameborder="0" style="border:0"></iframe>'; $patterniframe = "/.\\w.+(?:google\\.com.+?|adobe\\.com.+?|videohive\\.net.+?)/U"; $cleariframe = str_replace('"', "\"", $value); $result = preg_match($patterniframe, $cleariframe, $resultiframe); echo $resultiframe[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CPf3K
function name:  (null)
number of ops:  17
compiled vars:  !0 = $value, !1 = $patterniframe, !2 = $cleariframe, !3 = $result, !4 = $resultiframe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Ciframe+src%3D%22https%3A%2F%2Fwww.google.com%2Fmaps%2Fembed%3Fpb%3D%211m10%211m8%211m3%211d2667.0525139773754%212d38.027218326585825%213d48.05132379575402%213m2%211i1024%212i768%214f13.1%215e0%213m2%211sru%212s%214v1397237756729%22+width%3D%22600%22+height%3D%22450%22+frameborder%3D%220%22+style%3D%22border%3A0%22%3E%3C%2Fiframe%3E'
    3     1        ASSIGN                                                   !1, '%2F.%5Cw.%2B%28%3F%3Agoogle%5C.com.%2B%3F%7Cadobe%5C.com.%2B%3F%7Cvideohive%5C.net.%2B%3F%29%2FU'
    4     2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%22'
          4        SEND_VAL                                                 '%22'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !2, $7
    5     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        SEND_REF                                                 !4
         12        DO_ICALL                                         $9      
         13        ASSIGN                                                   !3, $9
    6    14        FETCH_DIM_R                                      ~11     !4, 0
         15        ECHO                                                     ~11
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.49 ms | 1395 KiB | 17 Q