PHP Development Job Interview - Technical Test?

I have an interview for a PHP development role tomorrow and was wondering what I should expect in the technical test. Any advice would be appreciated, it is a Junior role but it still requires strong OOP knowledge and knowledge of Test Driven development. What kind of things might they throw at me. :slight_smile:

“What does the function echo do?”

Are you serious?

:lol:

I was just kidding, for real I am not sure because I haven’t been in this position before.

EDIT: They might ask you this question. Just to brush up could you help me out?

fully expect some level of testing. An idoit can say “I know php or .Net and so on”. I just relocated recently and the job I got, I had to take multiple test. The first one was more to filter out the newbies and rookies. (It was an in depth sql writing test)

Since it was a .NET position, then came the .NET questions (Datasets, grids and so forth)

But honestly, if you know what your doing, don’t sweat it. If your new to php programming or programming in general, you might want to back out or cram like hell. The worst thing you can do is get caught in a lie about your skills to an employer.

Cedric

Thanks cis 0 I’ve been working with PHP for 3 years so I’m no rookie, it is my first interview though so I am a touch nervy, the fear of the unknown et al. Basically I was just fishing for some potential questions or anyone who has experienced this and might know something about the potential format the questions could come in, etc.

I give a 25 question test to php applicants that covers basic php to advanced php using sockets and OOP. Some of the questions tests someones knowledge of the php community which is of vital importance for finding answers to questions. There isn’t much cramming you can do the night before, you either know it or you don’t at this point.

look out the different between mysqlconnection nad mysqlpersistence connection this may be a question

I think I’d do badly on the sockets question. (See my cURL thread :lol: )

Other than that there aren’t too many areas I’m weak on so I SHOULD be ok. :slight_smile:

I wasn’t calling YOU a newbie/rookie, I was speaking about that there are alot of people faking the game with skills they don’t have. Thats why I said you most likely should expect a test.

Here are two of the common questions for programming job interviews :

  1. They’ll show you a code and ask you to either tell what it does or what’s wrong with it without even testing it.
  2. They’ll show you a function\class ans ask you to optimize it.

I never been to any , but that’s what a plenty of programmers said.

Thanks, mPeror. I actually had the feeling they’d throw in something along those lines.

I notice a lot of new media, web design companies now put in tests to see how good your php, javascript, .net, xml, and even some go as far as saying “this client wants a website, here his is logo, off you go”.

At one time I got annoyed by this process because some of the “sites” I built for a test lead to building the clients website for real from the test (which I built during the test) – but the site would be totally different because at least you’d get a chance to talk to the client – I’ve even come close to the point saying in interviews “Sure I can do this, but it will cost you £x”.

I never did though. Probably didn’t have the balls to say I don’t do work on spec… I mean would you go to a company’s test and say sure I’ll do your exam, but you’re going to have to pay me for my time?

Sounds silly, just shows you how annoyed I got at the whole interview process and just started to work for myself instead.

But I’m sure you’ll get the job…

Good luck in your interview anyway.

1.what is the differences bet echo and print?
2.Types of mysql connection?
3.Handling regular expression?
4.Date format?
5.Mail function?
6.xml handling?
7.oops(what is class,polyphormism,inheritance,constructor,object)
8.Date format…
and rest the person and god knows…
Best of Luck

Expect questions ripped verbatim out of the Zend certification book. They’re pretty easy, but there are a few that might throw you if you’re not familiar with some of the various bugs / features / whyinthehelldidtheydothats in PHP.

If you are based in the UK tell them you are over 50. Then it won’t matter what you know… you won’t have a chance. (actually, you won’t even get an interview)

Seriously though, it would be impossible to know everything about PHP (or anything else for that matter) even after 3 years. Unless the employer is looking for an Einstein to work for peanuts I would expect the important thing to be basic knowledge, and the will and aptitude to learn. Personally as an employer, I would be wary of someone who “knows it all”… there needs to be some scope for personal development. Then it is “Win Win” for both parties.

Good Luck!

Re above, Joking aside; 46 years old, 18+ years IT experience within UK, Could not find perm position always told, OVER QUALIFIED, very ageist. Wnt self employed contracting/own software company never looked back.

Dont be afraid of technical tests. If you dont know the answer, say so but explain how you would go about finding the solution. Its not always about the ‘answer’ but how you go about solving a problem! good luck

Based on my experience,Ive been ask about sql statements,difference of cookies and sessions,include and require and other stuff similar to that.
Review you PHP notes and just relax and stay focus.

Good luck :slight_smile: :slight_smile:

Thanks guys, some useful advice there!

Be ready to answer questions about other technology. In every interview I have been on they always go to Java or .NET and in many cases Perl. You may not know these but giving a good impression at this part of the interview will get you points.

Be flexible but not confused. When the part about " do you have any questions for us" comes around ask them about their projects and people" be nosey as you can.

A good trick to set things in their memory is to ask where the toilet facilities are or ask if you can walk through the work areas. See if you can get people to smile at you and eye scan familiar books and software.