$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-verbal-grammar-parts-of-speech-verb-he-visit-the-louvre-hersquos-in-paris-anyway'
$output = '{"success":true,"question":{"_id":"R2H59mbf8jHBzd4wf","name":"verb35","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>He ____ visit the Louvre. He’s in Paris anyway.</p>\n","instructions":"<p><strong>Directions:</strong> Choose the correct verb to complete the sentence.</p>\n","options":[{"index":0,"statement":"<p>may as well</p>\n","is_correct":true,"feedback":"<p style=\"text-align: justify;\">Brilliant! We can use <em><strong>may as well</strong></em> and <em><strong>might as well</strong></em> for making suggestions. We can use them to say what we think is the easiest or most logical course of action when we cannot see a better alternative. They are both fairly informal. <em><strong>Might as well</strong></em> is more common than may as well.</p>\n"},{"index":1,"statement":"<p>may not</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>may</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>might</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>may as well</p>\":true,\"<p>may not</p>\":false,\"<p>may</p>\":false,\"<p>might</p>\":false}","feedback":"{\"<p>may as well</p>\":\"<p style=\\\"text-align: justify;\\\">Brilliant! We can use <em><strong>may as well</strong></em> and <em><strong>might as well</strong></em> for making suggestions. We can use them to say what we think is the easiest or most logical course of action when we cannot see a better alternative. They are both fairly informal. <em><strong>Might as well</strong></em> is more common than may as well.</p>\",\"<p>may not</p>\":\"\",\"<p>may</p>\":\"\",\"<p>might</p>\":\"\"}","general_wrong_feedback":"<p style=\"text-align: justify;\">You have erred! <span style=\"text-align: justify;\">We can use </span><em style=\"text-align: justify;\"><strong>may as well</strong></em><span style=\"text-align: justify;\"> and </span><em style=\"text-align: justify;\"><strong>might as well</strong></em><span style=\"text-align: justify;\"> for making suggestions. We can use them to say what we think is the easiest or most logical course of action when we cannot see a better alternative. They are both fairly informal. </span><em style=\"text-align: justify;\"><strong>Might as well</strong></em><span style=\"text-align: justify;\"> is more common than </span><span style=\"text-align: justify;\">may as well.</span></p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Parts of Speech","Verb"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'R2H59mbf8jHBzd4wf'
name => 'verb35'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Parts of Speech',
(int) 4 => 'Verb'
)
}
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-verbal-grammar-parts-of-speech-verb-he-visit-the-louvre-hersquos-in-paris-anyway'
$output = '{"success":true,"question":{"_id":"R2H59mbf8jHBzd4wf","name":"verb35","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>He ____ visit the Louvre. He’s in Paris anyway.</p>\n","instructions":"<p><strong>Directions:</strong> Choose the correct verb to complete the sentence.</p>\n","options":[{"index":0,"statement":"<p>may as well</p>\n","is_correct":true,"feedback":"<p style=\"text-align: justify;\">Brilliant! We can use <em><strong>may as well</strong></em> and <em><strong>might as well</strong></em> for making suggestions. We can use them to say what we think is the easiest or most logical course of action when we cannot see a better alternative. They are both fairly informal. <em><strong>Might as well</strong></em> is more common than may as well.</p>\n"},{"index":1,"statement":"<p>may not</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>may</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>might</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>may as well</p>\":true,\"<p>may not</p>\":false,\"<p>may</p>\":false,\"<p>might</p>\":false}","feedback":"{\"<p>may as well</p>\":\"<p style=\\\"text-align: justify;\\\">Brilliant! We can use <em><strong>may as well</strong></em> and <em><strong>might as well</strong></em> for making suggestions. We can use them to say what we think is the easiest or most logical course of action when we cannot see a better alternative. They are both fairly informal. <em><strong>Might as well</strong></em> is more common than may as well.</p>\",\"<p>may not</p>\":\"\",\"<p>may</p>\":\"\",\"<p>might</p>\":\"\"}","general_wrong_feedback":"<p style=\"text-align: justify;\">You have erred! <span style=\"text-align: justify;\">We can use </span><em style=\"text-align: justify;\"><strong>may as well</strong></em><span style=\"text-align: justify;\"> and </span><em style=\"text-align: justify;\"><strong>might as well</strong></em><span style=\"text-align: justify;\"> for making suggestions. We can use them to say what we think is the easiest or most logical course of action when we cannot see a better alternative. They are both fairly informal. </span><em style=\"text-align: justify;\"><strong>Might as well</strong></em><span style=\"text-align: justify;\"> is more common than </span><span style=\"text-align: justify;\">may as well.</span></p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Parts of Speech","Verb"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'R2H59mbf8jHBzd4wf'
name => 'verb35'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Parts of Speech',
(int) 4 => 'Verb'
)
}
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 | Verbal | Grammar | Parts of Speech | Verb