3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sbj = addslashes(striptags('<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/145834350&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true"></iframe>')); $ptrn = 'src="([^"]+)'; preg_match($sbj, $ptrn, $match); print_r($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tuqvL
function name:  (null)
number of ops:  17
compiled vars:  !0 = $sbj, !1 = $ptrn, !2 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'addslashes'
          1        INIT_FCALL_BY_NAME                                       'striptags'
          2        SEND_VAL_EX                                              '%3Ciframe+width%3D%22100%25%22+height%3D%22450%22+scrolling%3D%22no%22+frameborder%3D%22no%22+src%3D%22https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%2F%2Fapi.soundcloud.com%2Ftracks%2F145834350%26amp%3Bauto_play%3Dfalse%26amp%3Bhide_related%3Dfalse%26amp%3Bshow_comments%3Dtrue%26amp%3Bshow_user%3Dtrue%26amp%3Bshow_reposts%3Dfalse%26amp%3Bvisual%3Dtrue%22%3E%3C%2Fiframe%3E'
          3        DO_FCALL                                      0  $3      
          4        SEND_VAR                                                 $3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !0, $4
    4     7        ASSIGN                                                   !1, 'src%3D%22%28%5B%5E%22%5D%2B%29'
    6     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !1
         11        SEND_REF                                                 !2
         12        DO_ICALL                                                 
    8    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.83 ms | 1395 KiB | 19 Q