- var_dump: documentation ( source)
- stripos: documentation ( source)
<?php
$oggetto = "CONSEGNA: Validazione indirizzo PEC";
$subject = "AVVISO DI MANCATA CONSEGNA: Validazione indirizzo PEC [ca282bf8#25125]";
$subject = "CONSEGNA: Validazione indirizzo PEC [ca282bf8#25125]";
var_dump(stripos($subject, 'CONSEGNA: Validazione indirizzo PEC'));