3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<li> Size: <a href="/data/9c1c06557b088a84f6d4379f0d9d535a.jpg">155 KB</a> (750x1050) </li>'; preg_match_all("/\sSize:\s<a\shref=\"(?P<image>[^\"]+)\"/", $html, $pmimage); var_dump($pmimage);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7bq2n
function name:  (null)
number of ops:  10
compiled vars:  !0 = $html, !1 = $pmimage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cli%3E%0A++++Size%3A+%3Ca+href%3D%22%2Fdata%2F9c1c06557b088a84f6d4379f0d9d535a.jpg%22%3E155+KB%3C%2Fa%3E%0A++++++%28750x1050%29%0A++%3C%2Fli%3E'
    9     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%5CsSize%3A%5Cs%3Ca%5Cshref%3D%22%28%3FP%3Cimage%3E%5B%5E%22%5D%2B%29%22%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
   11     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.67 ms | 1394 KiB | 17 Q