faizulbari Posted February 3, 2007 Share Posted February 3, 2007 is there any thing like char data type in php as in C. Link to comment https://forums.phpfreaks.com/topic/36912-solved-type-char-in-php/ Share on other sites More sharing options...
kenrbnsn Posted February 3, 2007 Share Posted February 3, 2007 Why do you need one? Ken Link to comment https://forums.phpfreaks.com/topic/36912-solved-type-char-in-php/#findComment-176095 Share on other sites More sharing options...
faizulbari Posted February 3, 2007 Author Share Posted February 3, 2007 i need one for array indexing like in C. Link to comment https://forums.phpfreaks.com/topic/36912-solved-type-char-in-php/#findComment-176106 Share on other sites More sharing options...
hvle Posted February 3, 2007 Share Posted February 3, 2007 Think of it like a string with 1 character. $arr['a'] = "work fine to me"; Link to comment https://forums.phpfreaks.com/topic/36912-solved-type-char-in-php/#findComment-176109 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.