I'm converting some C functions to PHP and have come across this:

int skipf(..., char *format)
{
  /* ... */
  cp = format;
  char *cp, *cp2;
  multiplier = strtol(cp, &cp2, 10);
  /* ... */
}


How can I implement this line in PHP ?
  multiplier = strtol(cp, &cp2, 10);


Oh, and an example of format is "12L20W2P"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to