3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/x248ctr" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x248ctr_logitech-g402-hyperion-fury-gaming-mouse-inhumanly-fast_tech" target="_blank">Logitech G402 Hyperion Fury Gaming Mouse...</a> <i>by <a href="http://www.dailymotion.com/LinusTechTips" target="_blank">LinusTechTips</a></i>'; preg_match('#dailymotion.com/embed/video/([^\'"\/\?]+)#i',$_content, $matches); var_dump($matches); echo $_content;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L4DSb
function name:  (null)
number of ops:  11
compiled vars:  !0 = $_content, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Ciframe+frameborder%3D%220%22+width%3D%22480%22+height%3D%22270%22+src%3D%22%2F%2Fwww.dailymotion.com%2Fembed%2Fvideo%2Fx248ctr%22+allowfullscreen%3E%3C%2Fiframe%3E%3Cbr+%2F%3E%3Ca+href%3D%22http%3A%2F%2Fwww.dailymotion.com%2Fvideo%2Fx248ctr_logitech-g402-hyperion-fury-gaming-mouse-inhumanly-fast_tech%22+target%3D%22_blank%22%3ELogitech+G402+Hyperion+Fury+Gaming+Mouse...%3C%2Fa%3E+%3Ci%3Eby+%3Ca+href%3D%22http%3A%2F%2Fwww.dailymotion.com%2FLinusTechTips%22+target%3D%22_blank%22%3ELinusTechTips%3C%2Fa%3E%3C%2Fi%3E'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%23dailymotion.com%2Fembed%2Fvideo%2F%28%5B%5E%27%22%5C%2F%5C%3F%5D%2B%29%23i'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    5     9        ECHO                                                     !0
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.55 ms | 1394 KiB | 17 Q