3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "<br class='clear'/> <div style='float:left;width:100px;'> 02 Dorm.<br /> A partir de: </div><div class='info' style='color:#E50000; font-weight:normal;'><font style='font-size:16px;'>R$ 505.726,23</font><div style='font-size:10px;line-height:10px'>*Venda sob consulta (Ref. Apto 103 Box 01)</div></div><br class=clear><br class='clear'/> <div style='float:left;width:100px;'> 03 Dorm.<br /> A partir de: </div><div class='info' style='color:#E50000; font-weight:normal;'><font style='font-size:16px;'>R$ 639.898,49</font><div style='font-size:10px;line-height:10px'>*Venda sob consulta (Ref. Apto 104 Box 02)</div></div><br class=clear><br class='clear'/><div style='float:left;width:100px;' class='normal'> Vagas:</div><div class='info' > <i class='fa fa-car'></i> &nbsp;1</div>"; $match = preg_match_all("/R\$ ([\d.,]+)<\//", $txt); print_r($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9aidh
function name:  (null)
number of ops:  10
compiled vars:  !0 = $txt, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cbr+class%3D%27clear%27%2F%3E+%3Cdiv+style%3D%27float%3Aleft%3Bwidth%3A100px%3B%27%3E+02+Dorm.%3Cbr+%2F%3E+A+partir+de%3A+%3C%2Fdiv%3E%3Cdiv+class%3D%27info%27+style%3D%27color%3A%23E50000%3B+font-weight%3Anormal%3B%27%3E%3Cfont+style%3D%27font-size%3A16px%3B%27%3ER%24+505.726%2C23%3C%2Ffont%3E%3Cdiv+style%3D%27font-size%3A10px%3Bline-height%3A10px%27%3E%2AVenda+sob+consulta+%28Ref.+Apto+103+Box+01%29%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cbr+class%3Dclear%3E%3Cbr+class%3D%27clear%27%2F%3E+%3Cdiv+style%3D%27float%3Aleft%3Bwidth%3A100px%3B%27%3E+03+Dorm.%3Cbr+%2F%3E+A+partir+de%3A+%3C%2Fdiv%3E%3Cdiv+class%3D%27info%27+style%3D%27color%3A%23E50000%3B+font-weight%3Anormal%3B%27%3E%3Cfont+style%3D%27font-size%3A16px%3B%27%3ER%24+639.898%2C49%3C%2Ffont%3E%3Cdiv+style%3D%27font-size%3A10px%3Bline-height%3A10px%27%3E%2AVenda+sob+consulta+%28Ref.+Apto+104+Box+02%29%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cbr+class%3Dclear%3E%3Cbr+class%3D%27clear%27%2F%3E%3Cdiv+style%3D%27float%3Aleft%3Bwidth%3A100px%3B%27+class%3D%27normal%27%3E+Vagas%3A%3C%2Fdiv%3E%3Cdiv+class%3D%27info%27+%3E+%3Ci+class%3D%27fa+fa-car%27%3E%3C%2Fi%3E+%26nbsp%3B1%3C%2Fdiv%3E'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2FR%24+%28%5B%5Cd.%2C%5D%2B%29%3C%5C%2F%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.46 ms | 1395 KiB | 17 Q