Searching for "and"

Q:

If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b?

Answer 100, it’s a reference to existing variable.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

Will comparison of string "10" and integer 11 work in PHP?

Answer Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

So if md5( ) generates the most secure hash, why would you ever use the less secure crc32( ) and sha1( )?

Answer Crypto usage in PHP is simple, but that doesn’t mean it’s free. First off, depending on the data that you’re encrypting, you might have reasons to store a 32-bit value in the database instead of the 160-bit value to save on space. Second, the more secure the crypto is, the longer is the computation time to deliver the hash value. A high volume site might be significantly slowed down, if frequent md5() generation is required.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

What’s the difference between accessing a class method via -> and via ::?

Answer :: is allowed to access methods that can perform static operations, i.e. those, which do not require object initialization.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

How do you handle stress?

Answer

How do you handle stress?

Wrong approach -
Do not say you are never under stress or I hate stress or you do exercise and meditation to take care of stress. Focus strictly on professional things that you do.

Right approach -
A good response is to say that pressure helps you focus and maintain your drive and like to handle challenges. Explain that some of your best efforts are the result of stress and pressure. Also inform that when pressure gets too intense, you know how to handle it.

Example -
Stress and pressure are a challenging part of the job and i know how to handle it. I handle it by focusing on proper planning and reporting, better time management, open communication, Hard work and prioritization.

Report Error

View answer Workspace Report Error Discuss

Q:

How Do You Manage to Balance Career and Family?

Answer

If you're attempting to give an answer that is as unrevealing as possible, try something like this:


  " I have been a dedicated,loyal,hardworking employee throughout my career and nothing in my personal life-family obligations, hobbies, or volunteer work-has ever affected my performance. Nor would I ever expect it to." 

Report Error

View answer Workspace Report Error Discuss