note 65157 added to function.explode

From: Date: Tue, 25 Apr 2006 19:22:11 +0000
Subject: note 65157 added to function.explode
Groups: php.notes 
Request: Send a blank email to php-notes+get-109683@lists.php.net to get a copy of this message
telness, I just tested your example: list($first, $second, $third) = explode('.','test.php#.jpg'); echo "First = $first<br>"; echo "Second = $second<br>"; echo "Third = $third<br>"; and it displays: First = test Second = php# Third = jpg Which looks correct to me. I'm on PHP 4.3.11. What version are you running? ---- Server IP: 216.194.113.175 Probable Submitter: 24.172.131.143 ---- X-Spam-Status: No, hits=3.3 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HTML_MESSAGE autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.explode.php Edit -- http://master.php.net/note/edit/65157 Del: integrated -- http://master.php.net/note/delete/65157/integrated Del: useless -- http://master.php.net/note/delete/65157/useless Del: bad code -- http://master.php.net/note/delete/65157/bad+code Del: spam -- http://master.php.net/note/delete/65157/spam Del: non-english -- http://master.php.net/note/delete/65157/non-english Del: in docs -- http://master.php.net/note/delete/65157/in+docs Del: other reasons-- http://master.php.net/note/delete/65157 Reject -- http://master.php.net/note/reject/65157 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#109683) next »