Interviewer And Interviewee Guide

Sr. PHP Programmer Interview Question:

How will you find the length of a string in PHP?

Submitted by: Administrator
The strlen() function is used to find the length of a string. Let's find the length of our string "Hello world!" −

<?php
echo strlen("Hello world!");
?>
This will produce following result −

12
Submitted by:

Read Online Sr. PHP Programmer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.