note 115404 deleted from function.strpos by cmb

From: Date: Sun, 02 Jun 2019 08:05:47 +0000
Subject: note 115404 deleted from function.strpos by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211172@lists.php.net to get a copy of this message
Note Submitter: Andres ---- strpos: Want to find lines in text file, NOT beginning with a comment (// for example)? That way it Works: $komm=strpos($var,'//'); if($komm === FALSE || $komm == TRUE){} Generally, it is a nonsense. Why 'strpos' cant ALWAYS output an integer?

« previous php.notes (#211172) next »