<?php $dst = 'a=b'; // $dst has no = leading or trailing or missing if (!in_array(strpos($dst, '='), [0, false, strlen($dst) - 1])) { print $dst; } if (str_contains($dst, '=') && !str_starts_with($dst, '=') && !str_ends_with($dst, '=')) { print $dst; }
You have javascript disabled. You will not be able to edit any code.