note 9853 added to sscanf

From: Date: Tue, 28 Nov 2000 09:21:12 +0000
Subject: note 9853 added to sscanf
Groups: php.notes 
Request: Send a blank email to php-notes+get-8183@lists.php.net to get a copy of this message
list($phone11, $phone12, $phone13) = sscanf($arow[9],"(%d) %d-%d"); If thoes variables dont have data in them it seems to cause segfaults on apache. ( just to save you some trouble shooting time here is my fix: sscanf($arow[9],"(%d) %d-%d", &$phone11,&$phone12, &$phone13); http://www.php.net/manual/function.sscanf.php

« previous php.notes (#8183) next »