Zend PHP Certification Bangla Guide

Monday, 14 March 2016

chr and ord in respect of printf, sprintf

echo chr("65"); // A
printf("%c", "65"); //A
echo sprintf("%c", "65"); //A

echo ord("A"); // 65
Posted by Anwar Hossain at 05:03
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2016 (31)
    • ►  June (2)
    • ►  May (8)
    • ►  April (1)
    • ▼  March (20)
      • Named Subpattern
      • Question Set 1
      • Getting the domain name out of a URL
      • How to Pass Zend PHP 5.3 exam in first attempt?
      • Some of the predefined POSIX in regular expression
      • Difference between greedy and ungreedy
      • Subpattern in regular expression
      • Non greedy/ungreedy regular expression
      • Look Aheads, Look Behinds regular expression
      • substr_compare() : compares main_str from position...
      • strcspn : Returns the length of the initial segme...
      • chr and ord in respect of printf, sprintf
      • bin2hex and hex2bin
      • addcslashes
      • addslashes
      • sprintf
      • printf
      • Difference among intersect functions
      • Difference among Sort, SORT_NATURAL, SORT_FLAG_CASE
      • Array Specials
Simple theme. Powered by Blogger.