$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-quantitative-ability-combinatorics-and-probability-counting-principles-permutation-ifnbspnprnbspnbspncrnbspthennbspwhat-will-be-the-value-of-r-if'
$output = '{"success":true,"question":{"_id":"tDgbzKkju6NxDQ4qM","name":"JPC74","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>If <sup>n</sup>P<sub>r</sub> = <sup>n</sup>C<sub>r</sub>, then what will be the value of r, if n=20?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>19</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>20</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>1</p>\n","is_correct":true,"feedback":"<p>Well Done! Did you use <sup>n</sup> P <sub>r </sub>= <sup>n</sup>C<sub>r</sub>* r!</p>\n"},{"index":3,"statement":"<p>None of the above</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>19</p>\":false,\"<p>20</p>\":false,\"<p>1</p>\":true,\"<p>None of the above</p>\":false}","feedback":"{\"<p>19</p>\":\"\",\"<p>20</p>\":\"\",\"<p>1</p>\":\"<p>Well Done! Did you use <sup>n</sup> P <sub>r </sub>= <sup>n</sup>C<sub>r</sub>* r!</p>\",\"<p>None of the above</p>\":\"\"}","general_wrong_feedback":"<p>Oops! you made a mistake. Do you know that <sup>n</sup> P <sub>r </sub>= <sup>n</sup> C <sub>r</sub>* r!</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Combinatorics and Probability","Counting Principles","Permutation"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'tDgbzKkju6NxDQ4qM'
name => 'JPC74'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Combinatorics and Probability',
(int) 3 => 'Counting Principles',
(int) 4 => 'Permutation'
)
}
UrlsController::question() - APP/Controller/UrlsController.php, line 235
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Use of undefined constant desc - assumed 'desc' [APP/Controller/UrlsController.php, line 236]
$metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags), desc => !empty($qsData->common_data) ? substr(strip_tags($qsData->common_data), 0, 200) . '...' : $qsData->questions[0]->statement ? substr(strip_tags($qsData->questions[0]->statement), 0, 200) . '...' : 'Best CAT coaching CAT preparation and Personalised learning with unlimited classes, from Alchemist'
$slug = 'cat-quantitative-ability-combinatorics-and-probability-counting-principles-permutation-ifnbspnprnbspnbspncrnbspthennbspwhat-will-be-the-value-of-r-if'
$output = '{"success":true,"question":{"_id":"tDgbzKkju6NxDQ4qM","name":"JPC74","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>If <sup>n</sup>P<sub>r</sub> = <sup>n</sup>C<sub>r</sub>, then what will be the value of r, if n=20?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>19</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>20</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>1</p>\n","is_correct":true,"feedback":"<p>Well Done! Did you use <sup>n</sup> P <sub>r </sub>= <sup>n</sup>C<sub>r</sub>* r!</p>\n"},{"index":3,"statement":"<p>None of the above</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>19</p>\":false,\"<p>20</p>\":false,\"<p>1</p>\":true,\"<p>None of the above</p>\":false}","feedback":"{\"<p>19</p>\":\"\",\"<p>20</p>\":\"\",\"<p>1</p>\":\"<p>Well Done! Did you use <sup>n</sup> P <sub>r </sub>= <sup>n</sup>C<sub>r</sub>* r!</p>\",\"<p>None of the above</p>\":\"\"}","general_wrong_feedback":"<p>Oops! you made a mistake. Do you know that <sup>n</sup> P <sub>r </sub>= <sup>n</sup> C <sub>r</sub>* r!</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Combinatorics and Probability","Counting Principles","Permutation"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'tDgbzKkju6NxDQ4qM'
name => 'JPC74'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Combinatorics and Probability',
(int) 3 => 'Counting Principles',
(int) 4 => 'Permutation'
)
}
UrlsController::question() - APP/Controller/UrlsController.php, line 236
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Best CAT Coaching In Delhi - CAT | Quantitative Ability | Combinatorics and Probability | Counting Principles | Permutation