- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
- Fatal error: Cannot re-assign $this in /in/GHnDt on line 5
Process exited with code 255.
<?php
$this = "Type"
//creating a list
if (strpos($this, "type")) {
$listValue = '1';
}
elseif (strpos($this, "colour")) {
$listValue = '2';
}
else {
$listValue = '3';
}
echo "I am list" . $listValue;
?>