<?php
$yazi = 'instagram.com';
$photoURL = 'instagram.com/p/BifvD84hSuj/';
$ara = strstr($yazi, $photoURL);
if($ara !== false) {
echo 'var';
} else {
echo 'yok';
}
//sonuç yok olacaktır.
//çünkü $yazi içinde $photoURL i arıyoruz.
//"instagram.com" bunun içinde "instagram.com/p/BifvD84hSuj/" bu var mı?
?>