Home>IT Tests>Questions>What is the output of the following code?
$a = 'destruction';
$b = 'destruction';
unset($a);
echo $b;
Question from the PHP5 test
What is the output of the following code? $a = 'destruction'; $b = 'destruction'; unset($a); echo $b;
Hard
Here is a technical question for developers that want to validate their skills before a technical interview.
This question is written in french and need to be translated to english.
Use english for technical terms in the french version (example : "string" instead of "chaine de caractĂšre".)
Double escape all quotes in result like this: //"
Give result as JSON.
Author: Mathieu RobinStatus: PublishedQuestion passed 62 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about PHP