Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by HumaneBITS Team. If you also belong to the team, you can get access from here

HumaneBITS Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

HumaneBITS Senior PHP Web Developer Interview Questions and Answers

Updated 12 Jun 2024

6 Interview questions

A Senior PHP Web Developer was asked 12mo ago
Q. How do you set a session to expire after 5 minutes?
Ans. 

Use the session_set_cookie_params function to set session for 5 mins

  • Use session_set_cookie_params function to set the session cookie lifetime to 5 minutes

  • Example: session_set_cookie_params(300); // 300 seconds = 5 minutes

A Senior PHP Web Developer was asked 12mo ago
Q. Write a PHP script to sort an array without using PHP's default sorting functions.
Ans. 

PHP script to sort an array without default functions

  • Create a function to implement a sorting algorithm like bubble sort, selection sort, or insertion sort

  • Loop through the array and compare each element with the next one to determine the order

  • Swap elements if they are in the wrong order until the array is sorted

Senior PHP Web Developer Interview Questions Asked at Other Companies

asked in HumaneBITS
Q1. Which JOIN should be used to retrieve records that exist in both ... read more
Q2. Can you describe the process of a web request cycle?
asked in HumaneBITS
Q3. Write a PHP script to sort an array without using PHP's default s ... read more
asked in HumaneBITS
Q4. Write a PHP script to find the occurrence of each alphabet in a g ... read more
asked in HumaneBITS
Q5. Explain how login works in CodeIgniter/Laravel.
A Senior PHP Web Developer was asked 12mo ago
Q. What is the difference between a session and a cookie?
Ans. 

Session stores data on server side while cookie stores data on client side.

  • Session data is stored on the server, while cookie data is stored on the client's browser.

  • Sessions are more secure as the data is not exposed to the client, while cookies can be easily manipulated by the client.

  • Sessions are typically used for storing sensitive information like user credentials, while cookies are used for tracking user behav...

A Senior PHP Web Developer was asked 12mo ago
Q. Explain how login works in CodeIgniter/Laravel.
Ans. 

Login in CodeIgniter/Laravel involves creating a form for users to input their credentials, validating the input, checking against database records, and setting a session for authenticated users.

  • Create a login form with fields for username and password

  • Validate user input to ensure it meets required criteria

  • Check the entered credentials against records in the database

  • Set a session for authenticated users to maintai...

A Senior PHP Web Developer was asked 12mo ago
Q. Explain PDO in PHP.
Ans. 

PDO in PHP is a PHP Data Objects extension that provides a consistent interface for accessing databases.

  • PDO stands for PHP Data Objects

  • It is a database access layer providing a uniform method of access to multiple databases

  • It is more secure than the traditional MySQL extension

  • PDO supports prepared statements to prevent SQL injection attacks

A Senior PHP Web Developer was asked 12mo ago
Q. Write a PHP script to find the occurrence of each alphabet in a given string, which may contain special characters.
Ans. 

This PHP script counts the occurrences of each alphabet in a given string, ignoring special characters and case sensitivity.

  • Use preg_replace to remove special characters: $cleanString = preg_replace('/[^a-zA-Z]/', '', $inputString);

  • Convert the string to lowercase to ensure case insensitivity: $cleanString = strtolower($cleanString);

  • Use str_split to convert the string into an array of characters: $charArray = str_s...

HumaneBITS Senior PHP Web Developer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(7 Questions)

  • Q1. Explain how login works in CodeIgniter/Laravel
  • Ans. 

    Login in CodeIgniter/Laravel involves creating a form for users to input their credentials, validating the input, checking against database records, and setting a session for authenticated users.

    • Create a login form with fields for username and password

    • Validate user input to ensure it meets required criteria

    • Check the entered credentials against records in the database

    • Set a session for authenticated users to maintain the...

  • Answered by AI
  • Q2. Difference between session & cookie
  • Ans. 

    Session stores data on server side while cookie stores data on client side.

    • Session data is stored on the server, while cookie data is stored on the client's browser.

    • Sessions are more secure as the data is not exposed to the client, while cookies can be easily manipulated by the client.

    • Sessions are typically used for storing sensitive information like user credentials, while cookies are used for tracking user behavior o...

  • Answered by AI
  • Q3. Write PHP script to sort an array without PHP default functions
  • Ans. 

    PHP script to sort an array without default functions

    • Create a function to implement a sorting algorithm like bubble sort, selection sort, or insertion sort

    • Loop through the array and compare each element with the next one to determine the order

    • Swap elements if they are in the wrong order until the array is sorted

  • Answered by AI
  • Q4. Write PHP script to find occurrence of alphabets in a given string, string can contain special chars
  • Ans. 

    This PHP script counts the occurrences of each alphabet in a given string, ignoring special characters and case sensitivity.

    • Use preg_replace to remove special characters: $cleanString = preg_replace('/[^a-zA-Z]/', '', $inputString);

    • Convert the string to lowercase to ensure case insensitivity: $cleanString = strtolower($cleanString);

    • Use str_split to convert the string into an array of characters: $charArray = str_split(...

  • Answered by AI
  • Q5. How to set session for 5 mins
  • Ans. 

    Use the session_set_cookie_params function to set session for 5 mins

    • Use session_set_cookie_params function to set the session cookie lifetime to 5 minutes

    • Example: session_set_cookie_params(300); // 300 seconds = 5 minutes

  • Answered by AI
  • Q6. Table A has columns A-name, A-desc, A-BID, Table B has B-ID, B-name, A-BID is FK from B table, which JOIN to apply if want to get records which are A and B too.
  • Ans. 

    Use INNER JOIN to get records from both Table A and Table B based on the foreign key A-BID.

    • Use INNER JOIN to combine records from Table A and Table B based on the common column A-BID.

    • Specify the join condition using ON clause.

    • Select the columns you want to retrieve from both tables.

  • Answered by AI
  • Q7. Explain PDO in PHP
  • Ans. 

    PDO in PHP is a PHP Data Objects extension that provides a consistent interface for accessing databases.

    • PDO stands for PHP Data Objects

    • It is a database access layer providing a uniform method of access to multiple databases

    • It is more secure than the traditional MySQL extension

    • PDO supports prepared statements to prevent SQL injection attacks

  • Answered by AI

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about HumaneBITS?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Naukri.com and was interviewed before Sep 2020. There were 6 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Python program like print day, month and year from current date and fibonacci series
  • Q2. Bluetooth concept basics

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare only program and basic concepts

Senior PHP Web Developer Interview Questions Asked at Other Companies

asked in HumaneBITS
Q1. Which JOIN should be used to retrieve records that exist in both ... read more
Q2. Can you describe the process of a web request cycle?
asked in HumaneBITS
Q3. Write a PHP script to sort an array without using PHP's default s ... read more
asked in HumaneBITS
Q4. Write a PHP script to find the occurrence of each alphabet in a g ... read more
asked in HumaneBITS
Q5. Explain how login works in CodeIgniter/Laravel.

I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. All related to project worked on wlan testing and networking concepts

Interview Preparation Tips

Interview preparation tips for other job seekers - Overall Good.
They gave taken 3 technical and 1hr round
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Nuts and bolts game, to output date in a certain format, one SQL query

Round 2 - Technical 

(2 Questions)

  • Q1. Stacks and Queues
  • Q2. Linked lists, arrays, and many more basic fundamental Dsa questions.
Round 3 - Technical 

(2 Questions)

  • Q1. More about your resume projects.
  • Q2. Puzzles and reasoning is asked

Interview Preparation Tips

Interview preparation tips for other job seekers - Try Puzzles on gfg, knows your projects that you have mentioned in your cv or resume, basic dsa is mostly asked with a focus on dbms.
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Promises in javascript
  • Ans. 

    Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.

    • Promises are used to handle asynchronous operations in JavaScript.

    • They can be in one of three states: pending, fulfilled, or rejected.

    • Promises can be chained using .then() to handle success and .catch() to handle errors.

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(3 Questions)

  • Q1. Resume based questions
  • Q2. Event loop in nodejs
  • Ans. 

    Event loop in Node.js manages asynchronous operations by executing callback functions when certain events occur.

    • Event loop is responsible for handling I/O operations, timers, and callbacks in Node.js

    • It allows Node.js to perform non-blocking operations efficiently

    • Event loop continuously checks the event queue for new events to execute

  • Answered by AI
  • Q3. Javascript es6 questions

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Feb 2023. There were 2 interview rounds.

Round 1 - Aptitude Test 

The test was very weird one.
They did have planned anything for the test, They came and given a link on bit.ly and given an another link that is in google form for the answers.
And they selection of people for second round is not sensible.

Round 2 - Coding Test 

This round was also be a weird.
They give each candidates with different questions.
They told us to write logic on the paper and you can use internet for your reference.
But after this round they announced the results but that is not in genuine one.

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't get into this type of process.
Before the start of interview ask them to what is they want from the candidates
Are these interview questions helpful?
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - MCQ 

(1 Question)

  • Q1. Basic dsa questions predict output
  • Ans. 

    Understanding basic data structures and algorithms is crucial for predicting outputs in coding challenges.

    • Data structures like arrays, linked lists, and trees are fundamental.

    • Algorithms such as sorting and searching are commonly tested.

    • Example: Predicting output of a sorting algorithm on an array.

    • Example: Understanding how recursion works in a binary tree traversal.

  • Answered by AI
Round 2 - Coding Test 

Medium level problem,

Round 3 - HR 

(1 Question)

  • Q1. Based on resume
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

45 min apps and technical question

Round 2 - Coding Test 

45 min coding round you can refer net for first 15 min

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Job Portal and was interviewed in Jun 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Aptitude Test 

It has include logical ,reasoning question. Aptitude questions are include mcq type question.

Round 3 - Group Discussion 

Firstly introduce yourself then HR take the one subject then selected candidate discuss on that subject. Subject related talking positive and negative point. Then who candidate speak better these are select in next round.

Interview Preparation Tips

Topics to prepare for Surya Software Systems Software Developer interview:
  • Basic
Interview preparation tips for other job seekers - A job seekers should collect information about the company beforehand. Then do apply these job.

HumaneBITS Interview FAQs

How many rounds are there in HumaneBITS Senior PHP Web Developer interview?
HumaneBITS interview process usually has 1 rounds. The most common rounds in the HumaneBITS interview process are Technical.
What are the top questions asked in HumaneBITS Senior PHP Web Developer interview?

Some of the top questions asked at the HumaneBITS Senior PHP Web Developer interview -

  1. Table A has columns A-name, A-desc, A-BID, Table B has B-ID, B-name, A-BID i...read more
  2. Write PHP script to sort an array without PHP default functi...read more
  3. Write PHP script to find occurrence of alphabets in a given string, string can ...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Senior Software Developer
19 salaries
unlock blur

₹13.2 L/yr - ₹23.9 L/yr

Software Developer
19 salaries
unlock blur

₹5.6 L/yr - ₹12.9 L/yr

Quality Analyst
15 salaries
unlock blur

₹3.8 L/yr - ₹7.8 L/yr

Software Engineer
12 salaries
unlock blur

₹3.5 L/yr - ₹13.7 L/yr

Support Engineer
7 salaries
unlock blur

₹5.2 L/yr - ₹8 L/yr

Explore more salaries
Compare HumaneBITS with

Global Edge Software

3.5
Compare

Moveinsync Technology Solutions

3.2
Compare

PagarBook

3.7
Compare

Trawex Technologies

4.5
Compare
write
Share an Interview