@ 2016-11-28T15:43:02Z <?php
$accuplacer_assoc = [
array(
"Reading Comprehension" => "70",
"Branching Profile" => "Reading Comprehension - Post Test"
),
array(
"Elementary Algebra" => "83",
"Branching Profile" => "Math - Post Test"
),
];
foreach ($accuplacer_assoc as $index)
{
if (!empty($accuplacer_assoc[$index]['Branching Profile']))
{
var_dump("checking to see if accuplacer_assoc[index][i] is empty: " . !empty($accuplacer_assoc[$index][$i]) . "<br
/><br />");
break;
}
else
{
if (preg_match("/Reading Comprehension - Post Test/i", $BRANCHING_PROFILE) === 1)
{
$code='PA2';
}
else if (preg_match("/^Sentence Skills - Post Test$/i", $BRANCHING_PROFILE) === 1)
{
$code='PA1';
}
else if (preg_match("/^Math - Post Test$/i", $BRANCHING_PROFILE) === 1 )
{
$code='PA5';
}
else if (preg_match("/^Elementary Algebra - Post Test$/i", $BRANCHING_PROFILE) === 1)
{
$code='PA6';
}
else if (preg_match("/^College Level Math - Post Test$/i", $BRANCHING_PROFILE) === 1)
{
$code='PA7';
}
else if (preg_match("/^Reading Comprehension$/i" , $BRANCHING_PROFILE ) === 1)
{
$code='AC2';
}
else if (preg_match("/^Sentence Skills$/i" ,$BRANCHING_PROFILE) === 1)
{
$code='AC1';
}
else if (preg_match("/^Arithmetic$/i", $BRANCHING_PROFILE) === 1)
{
$code='AC5';
}
else if (preg_match("/^Elementary Algebra$/i", $BRANCHING_PROFILE) === 1)
{
$code='AC6';
}
else if (preg_match("/^College Level Math$/i", $BRANCHING_PROFILE) === 1)
{
$code='AC7';
}
}
if (preg_match("/Reading Comprehension - Post Test/i", $BRANCHING_PROFILE) === 1)
{
$code='PA2';
}
else if (preg_match("/^Sentence Skills - Post Test$/i", $BRANCHING_PROFILE) === 1)
{
$code='PA1';
}
else if ((preg_match("/^Math - Post Test$/i", $BRANCHING_PROFILE) === 1) && (preg_match("/^Arithmetic/i", $accuplacer_assoc[$index]['Arithmetic']) === 1))
{
$code='PA5';
}
else if ((preg_match("/^Math - Post Test$/i", $BRANCHING_PROFILE) === 1) && (preg_match("/^Elementary Algebra/i", $accuplacer_assoc[$index]['Elementary Algebra']) === 1))
{
$code='PA6';
}
else if ((preg_match("/^Math - Post Test$/i", $BRANCHING_PROFILE) === 1) && (preg_match("/^College Level Math/i", $accuplacer_assoc[$index]['College Level Math']) === 1))
{
$code='PA7';
}
else if (preg_match("/^Reading Comprehension$/i" , $BRANCHING_PROFILE ) === 1)
{
$code='AC2';
}
else if (preg_match("/^Sentence Skills$/i" ,$BRANCHING_PROFILE) === 1)
{
$code='AC1';
}
else if (preg_match("/^Arithmetic$/i", $BRANCHING_PROFILE) === 1)
{
$code='AC5';
}
else if (preg_match("/^Elementary Algebra$/i", $BRANCHING_PROFILE) === 1)
{
$code='AC6';
}
else if (preg_match("/^College Level Math$/i", $BRANCHING_PROFILE) === 1)
{
$code='AC7';
}
}
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for git.master , git.master_jit Fatal error: Uncaught TypeError: Illegal offset type in /in/CjZCK:17
Stack trace:
#0 {main}
thrown in /in/CjZCK on line 17
Process exited with code 255 . Output for rfc.property-hooks Fatal error: Uncaught TypeError: Cannot access offset of type array on array in /in/CjZCK:17
Stack trace:
#0 {main}
thrown in /in/CjZCK on line 17
Process exited with code 255 . This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.
Active branches Archived branches Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page
preferences:dark mode live preview
54.99 ms | 401 KiB | 8 Q