#26626 [NEW]: Ruby style feature: get n times a char string

2003-12-15 Thread rohit_lodha at yahoo dot com
From: rohit_lodha at yahoo dot com
Operating system: Any
PHP version:  Irrelevant
PHP Bug Type: Feature/Change Request
Bug description:  Ruby style feature: get n times a char string 

Description:

when an integer is multipled with a char or string we should get a new
string with the string repeating n times.

eg: 2 * 's' = 'ss';
4 * FUN = FUNFUNFUNFUN;


-- 
Edit bug report at http://bugs.php.net/?id=26626edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26626r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26626r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=26626r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=26626r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26626r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=26626r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=26626r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=26626r=support
Expected behavior:  http://bugs.php.net/fix.php?id=26626r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=26626r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=26626r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=26626r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26626r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=26626r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=26626r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=26626r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26626r=float


#26626 [Opn]: Ruby style feature: get n times a char string

2003-12-15 Thread rohit_lodha at yahoo dot com
 ID:   26626
 User updated by:  rohit_lodha at yahoo dot com
 Reported By:  rohit_lodha at yahoo dot com
 Status:   Open
 Bug Type: Feature/Change Request
 Operating System: Any
 PHP Version:  Irrelevant
 New Comment:

This can be currently achived by using str_repeat();


Previous Comments:


[2003-12-15 04:11:37] rohit_lodha at yahoo dot com

Description:

when an integer is multipled with a char or string we should get a new
string with the string repeating n times.

eg: 2 * 's' = 'ss';
4 * FUN = FUNFUNFUNFUN;






-- 
Edit this bug report at http://bugs.php.net/?id=26626edit=1


#26630 [NEW]: Crashes whenerver class_exists is called in __autoload

2003-12-15 Thread rohit_lodha at yahoo dot com
From: rohit_lodha at yahoo dot com
Operating system: Windows 2000 adv server
PHP version:  5.0.0b2 (beta2)
PHP Bug Type: Reproducible crash
Bug description:  Crashes whenerver class_exists is called in __autoload

Description:

crashes when following code is executed

Reproduce code:
---
function __autoload($className) {
if(!class_exists($classname)){
   ClassLoader::loadClass($className);
   }
}

Actual result:
--
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:

-- 
Edit bug report at http://bugs.php.net/?id=26630edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26630r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26630r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=26630r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=26630r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26630r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=26630r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=26630r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=26630r=support
Expected behavior:  http://bugs.php.net/fix.php?id=26630r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=26630r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=26630r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=26630r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26630r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=26630r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=26630r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=26630r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26630r=float