SHARE
TWEET

Untitled

a guest Jun 18th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $haystack = '(-caramel-) John Cina (-vanilla-)(-caramel-)2019-05-19 07:31:05(-vannila-)';
  3.  
  4. if (strstr($haystack, '(-caramel-)') && strstr($haystack, '(-vanilla-)')) {
  5.   die('both match');
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top