Home >Backend Development >PHP Tutorial >Brief description of PHP entry-level interview questions (5)
PHP Junior Interview Questions are for programmers with little experience who are just looking for a job. This provides a lot of help for us to go out for interview, InterviewOfficial meetings often test us, and the interview questions played a big role at this time
41. Check whether a variable is set Is the function? The function that is empty is?
isset() empty()
42. The function that obtains the total number of query result sets is?
count()
43. $arr = array('james', 'tom', 'symfony'); Please print out the value of the first element
echo $arr[0];
44. Please separate the values of the array in question 41 with ',' signs and merge them into string output
echo $arr[0].$arr[1].$arr[2]
46. $a = 'abcdef'; Please take out the value of $a and print out the first letter
echo $a{0};
##46. Can PHP be connected to databases such as sql server/oracle?
Yes
47. Please write the PHP5 permission control modifier
private // 私人的 protected // 保密的 public // 公开的
48 , please write the constructor and destructor of php5
__construct // 构造函数 __destruct // 析构函数
Related recommendations:
php Junior Interview Questions Brief Description Questions (3)
php Junior Interview Questions Brief Description Questions (2)
php Junior Interview Questions Brief Description Questions (1)
##
The above is the detailed content of Brief description of PHP entry-level interview questions (5). For more information, please follow other related articles on the PHP Chinese website!