Created
August 13, 2013 19:17
-
-
Save patrickmaciel/6224655 to your computer and use it in GitHub Desktop.
Apache 2.2.6 crash with this error in PHP 5.4.17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach ($teams as $team_key => $team) { | |
$table_employees[$team_key] = array(); | |
$table_employees[$team_key]['team'] = $team_key; | |
$table_employees[$team_key]['employees'] = array(); | |
foreach ($team as $employee) { | |
$table_employees[$team_key]['employees'][$employee['id']]['id'] = $employee['id']; | |
$table_employees[$team_key]['employees'][$employee['id']]['name'] = $employee['name']; | |
$table_employees[$team_key]['employees'][$employee['id']]['group'] = $employee['group']; | |
foreach ($table as $tb) { | |
if ($team_key == $tb['team']) { | |
$table_employees[$team_key]['employees'][$employee['id']]['tip'] = $tb[] // ERROR LINE (without ';') | |
} | |
} | |
exit; | |
foreach ($employeeGroups as $key => $group) { | |
if (Inflector::slug(strtolower($employee['group']), '-') == Inflector::slug(strtolower($group['EmployeeGroup']['name']), '-')) { | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment