faizulbari Posted February 3, 2007 Share Posted February 3, 2007 how can i convert a string ascii value array if string is "my name" i want a array = {109,121,32,.....} Quote Link to comment https://forums.phpfreaks.com/topic/36919-solved-convert-string-to-char-ascii-value-array/ Share on other sites More sharing options...
hvle Posted February 3, 2007 Share Posted February 3, 2007 echo ord('c'); // 99 Quote Link to comment https://forums.phpfreaks.com/topic/36919-solved-convert-string-to-char-ascii-value-array/#findComment-176123 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.