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, $value, $resultiframe); echo $resultiframe[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B0ial
function name:  (null)
number of ops:  11
compiled vars:  !0 = $value, !1 = $patterniframe, !2 = $result, !3 = $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'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !3
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !2, $6
    6     8        FETCH_DIM_R                                      ~8      !3, 0
          9        ECHO                                                     ~8
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.06 ms | 1394 KiB | 15 Q