note 123910 deleted from function.explode by salathe

From: Date: Mon, 21 Sep 2020 14:49:40 +0000
Subject: note 123910 deleted from function.explode by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215335@lists.php.net to get a copy of this message
Note Submitter: jaybee at baelemans dot eu ---- It toke me about 1 day to find out the problem. (almost?) every function in PHP has a logical build as argument 1: Entity where the operation is based upon and 2 - the operand in the process. But with the explode-function the order is reversed and different. First the operand (delimiter) and second the string to be managed. Not quite logical compared to other needle-haystack-functions. And yes, If you're reading the format it should be no problem. Just hoping to help somebody else.

« previous php.notes (#215335) next »