Question
You are given the following grammar:
program ::= B defpart statpart E
defpart ::= vardef ; { vardef ; }
vardef ::= typesym varlist
typesym ::= C | F
varlist::= varname { “,” varname }
statpart ::= statmt ; {statmt ; }
statmt ::= readst | writest | assignst | ifstmt | dost
readst::= R varaclst
varaclst::= varname { “,” varname }
writes::= W explst
explst::= expr { “,” expr }
assignst::= varaclst = explst
ifstmt ::= I comprsn # {statmt ;} [@ {statmt ;}] &
comprsn ::= ( factor relop factor )
relop ::= < | ! | > | ?
dost ::= D ( assignst ) ( comprsn) L {statmt ;} ^
expr ::= [ - ] term { addop term}
addop ::= + | "-"
term ::= factor {multop factor}
multop ::= * | / | \
factor ::= num | varname | ( expr )
num ::= digit {digit}
varname ::= letter { letter | digit }
letter ::= U | V | Y
digit ::= 0 | 1 | 2 | 3 | 4 | 5
The tokens (which are bolded in the grammar) are: B E C F R W I D U V Y 0 1 2 3 4 5 and ; “,” = # @ & ( )
< ! > ? - + * / \
Non-terminals are shown as lowercase words.
Note that the following characters are NOT tokens (they are EBNF meta-symbols):| { } and the comma has been quoted when used as a symbol
1. Compute the FIRST and FOLLOW for all the non-terminal in the above grammar.
2. Show that the grammar satisfies the two requirements for predictive parsing (it does, you just need to prove it). Make sure that you use the supplement rules for EBNF grammars found in the notes.
3. Implement a recursive-descent recognizer.
- Prompt the user for an input stream.
- The user enters an input stream of legal tokens, followed by a $.
- You can assume:
o the user enters no whitespace,
o the user only enters legal tokens listed above,
o the user enters one and only one $, at the end.
- The start symbol is “program” (as defined above)
- Your program should output "legal" or "errors found" (not both!).
You can report additional information as well, if you want.
For example, knowing where your program finds an error could be helpful for me to assign partial credit if it's wrong.
- Assume the input stream is the TOKEN stream. Assume that any whitespace has already been stripped out by the lexical scanner (i.e., each token is one character - lexical scanning has been completed)
- Since the incoming token stream is terminated with a $, you will need to add the $ to the grammar and incorporate it in your answers to questions #1 and #2 above, where appropriate.
- Use Java, C, or C++, or ask your instructor if you wish to use another language.
- Limit your source code to ONE file.
- Make sure your program works on ATHENA before submitting it.
- INCLUDE INSTRUCTIONS FOR COMPILING AND RUNNING YOUR PROGRAM ON ATHENA IN A COMMENT BLOCK AT THE TOP OF YOUR PROGRAM. Also, explain any input formatting that your program requires of the user entry.
4. Collect the following submission materials into ONE folder:
- your source code file
- the first and follow
- a proof indicating that predictive parsing can be performed. (you can hand write and scanned, or do it on the computer).
Note: you may use the example parser as long as you acknowledge properly the source and adapt it to the assigned grammar (i.e. modify the comments appropriately).
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.docx
Purchase Solution
$115.00
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version409msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (252ms)time
    • Application (156ms)time
    • 1 x Booting (61.75%)
      252ms
      1 x Application (38.25%)
      156ms
      • Illuminate\Routing\Events\Routing (1.41ms)
      • Illuminate\Routing\Events\RouteMatched (549μs)
      • Illuminate\Foundation\Events\LocaleUpdated (4.15ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (168μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (157μs)
      • Illuminate\Database\Events\ConnectionEstablished (868μs)
      • Illuminate\Database\Events\StatementPrepared (11.21ms)
      • Illuminate\Database\Events\QueryExecuted (1.17ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (111μs)
      • eloquent.booting: App\Models\Subject (74μs)
      • eloquent.booted: App\Models\Subject (40μs)
      • Illuminate\Database\Events\StatementPrepared (1.75ms)
      • Illuminate\Database\Events\QueryExecuted (925μs)
      • eloquent.retrieved: App\Models\Subject (104μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (121μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (44μs)
      • Illuminate\Database\Events\StatementPrepared (839μs)
      • Illuminate\Database\Events\QueryExecuted (742μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (69μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (12μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.booting: App\Models\SubjectCat (516μs)
      • eloquent.booted: App\Models\SubjectCat (43μs)
      • Illuminate\Database\Events\StatementPrepared (618μs)
      • Illuminate\Database\Events\QueryExecuted (1.11ms)
      • eloquent.retrieved: App\Models\SubjectCat (92μs)
      • Illuminate\Cache\Events\CacheHit (10.58ms)
      • Illuminate\Cache\Events\CacheMissed (734μs)
      • Illuminate\Database\Events\StatementPrepared (972μs)
      • Illuminate\Database\Events\QueryExecuted (2.72ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (81μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • Illuminate\Database\Events\StatementPrepared (719μs)
      • Illuminate\Database\Events\QueryExecuted (883μs)
      • eloquent.retrieved: App\Models\Subject (94μs)
      • Illuminate\Cache\Events\KeyWritten (799μs)
      • Illuminate\Database\Events\StatementPrepared (1.8ms)
      • Illuminate\Database\Events\QueryExecuted (837μs)
      • Illuminate\Database\Events\StatementPrepared (737μs)
      • Illuminate\Database\Events\QueryExecuted (947μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (54μs)
      • Illuminate\Database\Events\StatementPrepared (785μs)
      • Illuminate\Database\Events\QueryExecuted (819μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (50μs)
      • Illuminate\Cache\Events\CacheHit (600μs)
      • creating: homework.show (296μs)
      • composing: homework.show (127μs)
      • creating: components.breadcrumbs (276μs)
      • composing: components.breadcrumbs (126μs)
      • Illuminate\Database\Events\StatementPrepared (1.09ms)
      • Illuminate\Database\Events\QueryExecuted (945μs)
      • eloquent.retrieved: App\Models\SubjectCat (81μs)
      • Illuminate\Cache\Events\CacheMissed (4.5ms)
      • Illuminate\Database\Events\StatementPrepared (597μs)
      • Illuminate\Database\Events\QueryExecuted (831μs)
      • eloquent.retrieved: App\Models\SubjectCat (62μs)
      • Illuminate\Cache\Events\KeyWritten (987μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (357μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (666μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheMissed (225μs)
      • Illuminate\Database\Events\StatementPrepared (751μs)
      • Illuminate\Database\Events\QueryExecuted (1.61ms)
      • eloquent.retrieved: App\Models\SubjectCat (65μs)
      • Illuminate\Cache\Events\KeyWritten (395μs)
      • Illuminate\Cache\Events\CacheHit (262μs)
      • Illuminate\Cache\Events\CacheHit (312μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (218μs)
      • Illuminate\Cache\Events\CacheHit (227μs)
      • Illuminate\Cache\Events\CacheHit (233μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheMissed (268μs)
      • Illuminate\Database\Events\StatementPrepared (722μs)
      • Illuminate\Database\Events\QueryExecuted (908μs)
      • eloquent.retrieved: App\Models\SubjectCat (57μs)
      • Illuminate\Cache\Events\KeyWritten (322μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (261μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (250μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (245μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (213μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (333μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (230μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheMissed (295μs)
      • Illuminate\Database\Events\StatementPrepared (783μs)
      • Illuminate\Database\Events\QueryExecuted (907μs)
      • eloquent.retrieved: App\Models\SubjectCat (67μs)
      • Illuminate\Cache\Events\KeyWritten (440μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (302μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (226μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (249μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheMissed (287μs)
      • Illuminate\Database\Events\StatementPrepared (805μs)
      • Illuminate\Database\Events\QueryExecuted (974μs)
      • eloquent.retrieved: App\Models\SubjectCat (66μs)
      • Illuminate\Cache\Events\KeyWritten (450μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (252μs)
      • Illuminate\Cache\Events\CacheHit (228μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (231μs)
      • Illuminate\Cache\Events\CacheHit (224μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheMissed (275μs)
      • Illuminate\Database\Events\StatementPrepared (682μs)
      • Illuminate\Database\Events\QueryExecuted (907μs)
      • eloquent.retrieved: App\Models\SubjectCat (66μs)
      • Illuminate\Cache\Events\KeyWritten (512μs)
      • Illuminate\Cache\Events\CacheHit (248μs)
      • Illuminate\Cache\Events\CacheHit (238μs)
      • Illuminate\Cache\Events\CacheHit (212μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (229μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (915μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheMissed (291μs)
      • Illuminate\Database\Events\StatementPrepared (840μs)
      • Illuminate\Database\Events\QueryExecuted (1.03ms)
      • eloquent.retrieved: App\Models\SubjectCat (87μs)
      • Illuminate\Cache\Events\KeyWritten (393μs)
      • Illuminate\Cache\Events\CacheHit (237μs)
      • Illuminate\Cache\Events\CacheHit (224μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (399μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (214μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (248μs)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheMissed (312μs)
      • Illuminate\Database\Events\StatementPrepared (805μs)
      • Illuminate\Database\Events\QueryExecuted (920μs)
      • eloquent.retrieved: App\Models\SubjectCat (92μs)
      • Illuminate\Cache\Events\KeyWritten (391μs)
      • Illuminate\Cache\Events\CacheHit (1.18ms)
      • Illuminate\Cache\Events\CacheHit (283μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (230μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (223μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (1.1ms)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (232μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (218μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (237μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (249μs)
      • Illuminate\Cache\Events\CacheHit (213μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheMissed (280μs)
      • Illuminate\Database\Events\StatementPrepared (826μs)
      • Illuminate\Database\Events\QueryExecuted (937μs)
      • eloquent.retrieved: App\Models\SubjectCat (64μs)
      • Illuminate\Cache\Events\KeyWritten (1.38ms)
      • Illuminate\Cache\Events\CacheHit (226μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • creating: site.layouts.app (522μs)
      • composing: site.layouts.app (18μs)
      • creating: components.canonical (315μs)
      • composing: components.canonical (76μs)
      • creating: components.open-graph (127μs)
      • composing: components.open-graph (147μs)
      • creating: site.headers.header (200μs)
      • composing: site.headers.header (57μs)
      • Illuminate\Cache\Events\CacheHit (1.19ms)
      • creating: components.footer (79μs)
      • composing: components.footer (71μs)
      • Illuminate\Cache\Events\CacheHit (649μs)
      • Illuminate\Cache\Events\CacheMissed (289μs)
      • Illuminate\Database\Events\StatementPrepared (2.37ms)
      • Illuminate\Database\Events\QueryExecuted (1.11ms)
      • eloquent.retrieved: App\Models\SubjectCat (83μs)
      • Illuminate\Cache\Events\KeyWritten (1.61ms)
      • Illuminate\Cache\Events\CacheHit (342μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (256μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • creating: components.forms.contact-us (179μs)
      • composing: components.forms.contact-us (118μs)
      • creating: components.forms.get-started (113μs)
      • composing: components.forms.get-started (46μs)
      • creating: components.forms.free-tool-download (74μs)
      • composing: components.forms.free-tool-download (42μs)
      • creating: components.forms.claim-free-worksheet (72μs)
      • composing: components.forms.claim-free-worksheet (42μs)
      • creating: components.forms.tutor-subscription-waitlist (68μs)
      • composing: components.forms.tutor-subscription-waitlist (40μs)
      • creating: components.forms.tutor-subscription-join (65μs)
      • composing: components.forms.tutor-subscription-join (41μs)
      • creating: components.forms.tutor-support (66μs)
      • composing: components.forms.tutor-support (41μs)
      • 311 x Illuminate\Cache\Events\CacheHit (17.8%)
        72.79ms
        20 x Illuminate\Database\Events\StatementPrepared (7.26%)
        29.69ms
        20 x Illuminate\Database\Events\QueryExecuted (5.19%)
        21.23ms
        11 x Illuminate\Cache\Events\CacheMissed (1.9%)
        7.76ms
        11 x Illuminate\Cache\Events\KeyWritten (1.88%)
        7.68ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (1.01%)
        4.15ms
        1 x Illuminate\Routing\Events\Routing (0.34%)
        1.41ms
        12 x eloquent.retrieved: App\Models\SubjectCat (0.22%)
        882μs
        1 x Illuminate\Database\Events\ConnectionEstablished (0.21%)
        868μs
        1 x Illuminate\Routing\Events\RouteMatched (0.13%)
        549μs
        1 x creating: site.layouts.app (0.13%)
        522μs
        1 x eloquent.booting: App\Models\SubjectCat (0.13%)
        516μs
        1 x creating: components.canonical (0.08%)
        315μs
        1 x creating: homework.show (0.07%)
        296μs
        1 x creating: components.breadcrumbs (0.07%)
        276μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.06%)
        233μs
        10 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.05%)
        220μs
        1 x creating: site.headers.header (0.05%)
        200μs
        2 x eloquent.retrieved: App\Models\Subject (0.05%)
        198μs
        1 x creating: components.forms.contact-us (0.04%)
        179μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        168μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        157μs
        1 x composing: components.open-graph (0.04%)
        147μs
        1 x composing: homework.show (0.03%)
        127μs
        1 x creating: components.open-graph (0.03%)
        127μs
        1 x composing: components.breadcrumbs (0.03%)
        126μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.03%)
        121μs
        1 x composing: components.forms.contact-us (0.03%)
        118μs
        1 x creating: components.forms.get-started (0.03%)
        113μs
        1 x creating: components.footer (0.02%)
        79μs
        1 x composing: components.canonical (0.02%)
        76μs
        1 x eloquent.booting: App\Models\Subject (0.02%)
        74μs
        1 x creating: components.forms.free-tool-download (0.02%)
        74μs
        1 x creating: components.forms.claim-free-worksheet (0.02%)
        72μs
        1 x composing: components.footer (0.02%)
        71μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.02%)
        68μs
        1 x creating: components.forms.tutor-support (0.02%)
        66μs
        1 x creating: components.forms.tutor-subscription-join (0.02%)
        65μs
        1 x composing: site.headers.header (0.01%)
        57μs
        1 x composing: components.forms.get-started (0.01%)
        46μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.01%)
        44μs
        1 x eloquent.booted: App\Models\SubjectCat (0.01%)
        43μs
        1 x composing: components.forms.free-tool-download (0.01%)
        42μs
        1 x composing: components.forms.claim-free-worksheet (0.01%)
        42μs
        1 x composing: components.forms.tutor-subscription-join (0.01%)
        41μs
        1 x composing: components.forms.tutor-support (0.01%)
        41μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.01%)
        40μs
        1 x eloquent.booted: App\Models\Subject (0.01%)
        40μs
        1 x composing: site.layouts.app (0%)
        18μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      20 statements were executed, 5 of which were duplicates, 15 unique. Show only duplicated36.37ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '27404' limit 1
        11.64mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 27404
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (143)
        1.16mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (27404)
        1.07mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.23mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 27404 and `subject` = 143 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        2.98mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 27404
        • 1: 143
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (143)
        1.05mstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 27404 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        880μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 27404
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 27404 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        980μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 27404
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 27404 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        870μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 27404
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.16mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      • select * from `subject_cats` where `subject_cats`.`id` = 1 limit 1
        930μstwenty4_siteSubject.php#100
        Bindings
        • 0: 1
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.86mstwenty4_siteSubject.php#100
        Bindings
        • 0: 3
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 4 limit 1
        940μstwenty4_siteSubject.php#100
        Bindings
        • 0: 4
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 10 limit 1
        1.08mstwenty4_siteSubject.php#100
        Bindings
        • 0: 10
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 33 limit 1
        1.14mstwenty4_siteSubject.php#100
        Bindings
        • 0: 33
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 11 limit 1
        1mstwenty4_siteSubject.php#100
        Bindings
        • 0: 11
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 5 limit 1
        1.27mstwenty4_siteSubject.php#100
        Bindings
        • 0: 5
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 34 limit 1
        1.08mstwenty4_siteSubject.php#100
        Bindings
        • 0: 34
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 31 limit 1
        1.12mstwenty4_siteSubject.php#100
        Bindings
        • 0: 31
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 36 limit 1
        2.93mstwenty4_siteSubject.php#100
        Bindings
        • 0: 36
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 28. view::components.footer:170
      App\Models\SubjectCat
      12SubjectCat.php
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      10HomeworkLibraryFile.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\Subject
      2Subject.php
          _token
          oikG7VRe3VZH2xLagHHC3Fh1GJf25CQzRxi5sFFF
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/Theoretical-Computer-Science/27404
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Scienc...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Computer-Science/Theoretical-Computer-Science/27404
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-680ebf83-66decff83378236830b642ab" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "3.15.219.78" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sun, 27 Apr 2025 23:36:35 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IklGTTlxVUF1NFU4bFJ6a0ZGL0pKZWc9PSIsInZhbHVlIjoiM2xFdnVld3hGUGEyWE04NlRqT2RMMWd2QmVCa0t6WXZJV2dvOG1pT3IzWnpzNWxIZlRHbnhkNi92UFFKSUI2T1o4SjI5MmtKc2pYVktHQTFuenI2bkxGMG5mM1FpTGhVWDNIdzVDT2hvN01pdksySkorcjhhM3E4SllTM0JWMkYiLCJtYWMiOiJkNTFkMzVmYTRiYzhmZTgwNDFjM2YwMjkzYjMwODZlNWNiYjc0ODVlNTI2NDI0NTJiNWVlMDYzNWY2NDQzMThmIiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 01:36:35 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6IklGTTlxVUF1NFU4bFJ6a0ZGL0pKZWc9PSIsInZhbHVlIjoiM2xFdnVld3hGUGEyWE04NlRqT2RMMWd2QmVCa0t6WXZJV2dvOG1pT3IzWnpzNWxIZlRHbnhkNi92UFFKSUI2T1o4SjI5M" 1 => "24houranswers_session=eyJpdiI6IlQwcS92d0h6b0lhZk9aN1FHMUpSTGc9PSIsInZhbHVlIjoiSHBCaytrei9Nem5KTUUrUWVCdnhNc0N1N1hsbzZmOExMYU9xa01UcHhaOXJoaHB0Mk0vWXRHRkJ0eTdlWUFOOTFPRk05NCtYYUh4L1pGY3lkcittKzBFbWhSUHk5MGRDcHh1V25BUzc2OUdxNzd2YWxKWklZZDcyS1liVkRaRWQiLCJtYWMiOiIyMzQ2NGRkZjk1YmJlZmNiMmZkNTQyYmFjZjg3NzdkOTdmZTJjYzgyYzkyZDJlMWI1ZGNkNTZkMDRiNTE2NWRjIiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 01:36:35 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IlQwcS92d0h6b0lhZk9aN1FHMUpSTGc9PSIsInZhbHVlIjoiSHBCaytrei9Nem5KTUUrUWVCdnhNc0N1N1hsbzZmOExMYU9xa01UcHhaOXJoaHB0Mk0vWXRHRkJ0eTdlWU" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IklGTTlxVUF1NFU4bFJ6a0ZGL0pKZWc9PSIsInZhbHVlIjoiM2xFdnVld3hGUGEyWE04NlRqT2RMMWd2QmVCa0t6WXZJV2dvOG1pT3IzWnpzNWxIZlRHbnhkNi92UFFKSUI2T1o4SjI5MmtKc2pYVktHQTFuenI2bkxGMG5mM1FpTGhVWDNIdzVDT2hvN01pdksySkorcjhhM3E4SllTM0JWMkYiLCJtYWMiOiJkNTFkMzVmYTRiYzhmZTgwNDFjM2YwMjkzYjMwODZlNWNiYjc0ODVlNTI2NDI0NTJiNWVlMDYzNWY2NDQzMThmIiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 01:36:35 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6IklGTTlxVUF1NFU4bFJ6a0ZGL0pKZWc9PSIsInZhbHVlIjoiM2xFdnVld3hGUGEyWE04NlRqT2RMMWd2QmVCa0t6WXZJV2dvOG1pT3IzWnpzNWxIZlRHbnhkNi92UFFKSUI2T1o4SjI5M" 1 => "24houranswers_session=eyJpdiI6IlQwcS92d0h6b0lhZk9aN1FHMUpSTGc9PSIsInZhbHVlIjoiSHBCaytrei9Nem5KTUUrUWVCdnhNc0N1N1hsbzZmOExMYU9xa01UcHhaOXJoaHB0Mk0vWXRHRkJ0eTdlWUFOOTFPRk05NCtYYUh4L1pGY3lkcittKzBFbWhSUHk5MGRDcHh1V25BUzc2OUdxNzd2YWxKWklZZDcyS1liVkRaRWQiLCJtYWMiOiIyMzQ2NGRkZjk1YmJlZmNiMmZkNTQyYmFjZjg3NzdkOTdmZTJjYzgyYzkyZDJlMWI1ZGNkNTZkMDRiNTE2NWRjIiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 01:36:35 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IlQwcS92d0h6b0lhZk9aN1FHMUpSTGc9PSIsInZhbHVlIjoiSHBCaytrei9Nem5KTUUrUWVCdnhNc0N1N1hsbzZmOExMYU9xa01UcHhaOXJoaHB0Mk0vWXRHRkJ0eTdlWU" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "oikG7VRe3VZH2xLagHHC3Fh1GJf25CQzRxi5sFFF" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/Theoretical-Computer-Science/27404" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/Theoretical-Computer-Science/27404" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]