Timeline for PHP parse/syntax errors; and how to solve them
Current License: CC BY-SA 4.0
86 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 20, 2023 at 22:21 | comment | added | Steve | Some of the linked pages are missing e.g unexpected t_double_arrow | |
Feb 16, 2021 at 12:34 | answer | added | ofri cofri | timeline score: 1 | |
Feb 7, 2021 at 4:55 | answer | added | swapnil akolkar | timeline score: 1 | |
Jan 2, 2021 at 13:57 | history | edited | John Conde | CC BY-SA 4.0 |
added 84 characters in body
|
Jan 2, 2021 at 13:56 | answer | added | John Conde | timeline score: 2 | |
Jun 28, 2020 at 0:01 | history | edited | mario | CC BY-SA 4.0 |
added 129 characters in body
|
Apr 24, 2020 at 11:49 | history | edited | John Conde | CC BY-SA 4.0 |
added 69 characters in body
|
Apr 24, 2020 at 11:47 | answer | added | John Conde | timeline score: 2 | |
Dec 27, 2019 at 11:57 | history | edited | mario | CC BY-SA 4.0 |
added 127 characters in body
|
Dec 25, 2019 at 1:26 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading.
|
Dec 25, 2019 at 1:10 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Alternatively, the question formation should be fixed - missing auxiliary (or helping) verb - see e.g. <https://www.youtube.com/watch?v=t4yWEt0OSpg&t=1m49s> (see also <https://www.youtube.com/watch?v=kS5NfSzXfrI> (QUASM)).
|
Aug 22, 2019 at 14:16 | comment | added | mario | @β.εηοιτ.βε Great idea; there've been quite a handful of these questions recently. Though it would need to cover the three common cases (import scope, traits, closures) if possible. | |
Aug 22, 2019 at 12:45 | comment | added | β.εηοιτ.βε |
That question could use a T_USE parse error answer. I'd add the answer for it later
|
|
Jun 5, 2019 at 16:10 | review | Close votes | |||
Jun 12, 2019 at 0:01 | |||||
Jun 4, 2019 at 9:40 | history | edited | Rahul | CC BY-SA 4.0 |
added 4 characters in body
|
Jan 31, 2019 at 14:57 | answer | added | mplungjan | timeline score: 2 | |
Oct 29, 2018 at 2:24 | history | edited | John Conde | CC BY-SA 4.0 |
added 56 characters in body
|
Oct 29, 2018 at 2:22 | answer | added | John Conde | timeline score: 3 | |
Aug 10, 2018 at 14:50 | history | edited | John Conde | CC BY-SA 4.0 |
added 67 characters in body
|
Aug 10, 2018 at 12:48 | history | edited | John Conde | CC BY-SA 4.0 |
added 124 characters in body
|
Aug 10, 2018 at 12:45 | answer | added | John Conde | timeline score: 1 | |
Aug 6, 2018 at 0:11 | history | edited | alariva | CC BY-SA 4.0 |
Add extra notes on possible cases due to external code raising the error
|
Feb 27, 2018 at 23:49 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Active reading. [<http://stackoverflow.com/legal/trademark-guidance> (the last section)]. Changed to sentence casing for the title.
|
Feb 7, 2018 at 17:53 | answer | added | John Conde | timeline score: 10 | |
Feb 7, 2018 at 1:39 | history | edited | Sofyan Thayf | CC BY-SA 3.0 |
little bit correction
|
Nov 9, 2017 at 12:39 | history | edited | John Conde | CC BY-SA 3.0 |
added 68 characters in body
|
Nov 9, 2017 at 12:38 | answer | added | John Conde | timeline score: 6 | |
Sep 28, 2017 at 12:05 | review | Close votes | |||
Oct 2, 2017 at 0:02 | |||||
Sep 24, 2017 at 11:18 | review | Close votes | |||
Sep 28, 2017 at 0:01 | |||||
May 23, 2017 at 12:18 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Dec 20, 2016 at 21:43 | answer | added | mario | timeline score: 15 | |
Jun 9, 2016 at 0:17 | comment | added | mario | @Rizier123 Nah, just give it whirl here. I'm not really attached to any formulation quirk or structure ;} Also, it's CW after all (should have been from the start). And, mods are asleep, so edit away! | |
Jun 9, 2016 at 0:03 | comment | added | Rizier123 | @mario Well I thought you have some ideas how you would like it or think it would be better or so? Like you said that you wanted to outsource this stuff. Otherwise I would make a gist draft and then you can say it if it is better or worse? :) | |
Jun 8, 2016 at 23:57 | comment | added | mario | @Rizier123 Edit away! - It's all pretty much still the initial draft; wasn't meant to remain like this. (Still reads too much like a book/tutorial intro). The overall answer format is perhaps okay. | |
Jun 3, 2016 at 12:57 | history | edited | Thamilhan | CC BY-SA 3.0 |
edited body
|
May 28, 2016 at 13:45 | comment | added | mario |
@Fred-ii- I think most causes are similar to the T_IF / T_FOREACH / ... block. Albeit I wanted to compile a more custom summary for IF/ELSE/ELSEIF questions.
|
|
May 28, 2016 at 13:14 | comment | added | Funk Forty Niner |
@mario Would unexpected 'else' (T_ELSE) fall under this Q&A? I've noticed a few questions lately but wasn't 100% sure if I could use this question to close them with. One posted today being stackoverflow.com/q/37499362
|
|
Mar 23, 2016 at 9:02 | history | edited | Santosh Jadi |
Added Tag
|
|
Jan 23, 2016 at 18:25 | comment | added | Mark Amery | @mario I'm not sure what's stopping you from migrating most of the content out to self-answered Q&A pairs right now? For the answers where you cover multiple error types in one post, I can see how that would require some thought and care, but that's only a couple of posts. I'd move all the rest out right now myself except that it's your content (and I don't have the ability to delete the posts here once I'm done). As far as off-topicness goes, there's a few reference indexes like this and I'd fiercely defend the right of this one to exist... as long as the content is migrated out. | |
Jan 23, 2016 at 18:18 | comment | added | mario | @MarkAmery Wholeheartedly agree. But this reference is a test balloon still. It's bordering on off-topic because it covers multiple topics at once and doesn't aid googleability by itself. Which, of course, it should. Outsouring it into higher ranking results (and hoping it stays there) is the long-term plan. For the moment it's just used as memorable reference for newcomer-friendly dupe closing - because finding a fitting exact T_STRING answer was near impossible already. | |
Jan 23, 2016 at 16:17 | comment | added | Mark Amery | When I Google for the error names listed in the question here, I don't find this post on even the first page of Google, ever. That's a huge waste of what is otherwise fantastic work! Googling "unexpected T_STRING" gets me this piece of garbage which has 50% as many views as your entire error reference here. This could be solved easily by extracting out Q&A pairs with good titles. See also: meta.stackoverflow.com/questions/314618/… | |
Jan 23, 2016 at 16:15 | comment | added | Mark Amery | mario, I strongly recommend that you take your error-specific answers here and extract them out into their own Q&A pairs (or contribute them to existing questions, when they exist), then delete those answers from here, update the index to link to the distinct questions, and flag this question for locking. The content you've created here is awesome, but its usefulness is crippled by a lack of findability on Google; I discovered this answer today for the first time ever after being active on Stack Overflow for years. | |
Jan 23, 2016 at 16:00 | history | edited | Mark Amery | CC BY-SA 3.0 |
typo fix
|
Nov 26, 2015 at 2:49 | history | edited | Rizier123 | CC BY-SA 3.0 |
added 153 characters in body
|
Oct 20, 2015 at 16:15 | comment | added | mario | @Rizier123 Sure, if you have one, or just a link even. I've not yet seen questions myself. (If it's interesting enough, I'll throw in a bounty.. :) | |
Oct 20, 2015 at 15:31 | comment | added | Rizier123 | Should we add PHP 7 errors preventive? | |
Oct 16, 2015 at 23:16 | history | edited | mario | CC BY-SA 3.0 |
added 124 characters in body
|
Oct 4, 2015 at 11:12 | history | edited | mario | CC BY-SA 3.0 |
added 152 characters in body
|
Oct 4, 2015 at 11:05 | history | edited | mario | CC BY-SA 3.0 |
added 212 characters in body
|
Oct 2, 2015 at 15:50 | history | edited | Rizier123 | CC BY-SA 3.0 |
added 84 characters in body
|
Sep 5, 2015 at 18:40 | history | edited | mario | CC BY-SA 3.0 |
added 146 characters in body
|
May 9, 2015 at 16:05 | history | edited | mario | CC BY-SA 3.0 |
deleted 222 characters in body
|
May 9, 2015 at 15:59 | answer | added | mario | timeline score: 12 | |
Apr 8, 2015 at 20:53 | history | edited | mario | CC BY-SA 3.0 |
added 2142 characters in body
|
Apr 8, 2015 at 4:26 | history | edited | mario | CC BY-SA 3.0 |
Clean up the link layout and source, mark external and further commented out links with "…" ellipsis
|
Apr 8, 2015 at 4:15 | answer | added | mario | timeline score: 62 | |
Apr 7, 2015 at 20:31 | history | edited | mario | CC BY-SA 3.0 |
deleted 1810 characters in body
|
Apr 7, 2015 at 20:26 | answer | added | mario | timeline score: 15 | |
Feb 10, 2015 at 11:15 | history | protected | mario | ||
Aug 2, 2014 at 16:24 | history | rollback | hakre |
Rollback to Revision 4
|
|
Jun 15, 2014 at 2:57 | history | edited | hichris123 | CC BY-SA 3.0 |
Title cleanup
|
Aug 31, 2013 at 8:17 | history | edited | hakre |
edited tags
|
|
Aug 22, 2013 at 23:11 | history | made wiki | Post Made Community Wiki by Gordon | ||
Aug 21, 2013 at 14:34 | audit | First posts | |||
Aug 21, 2013 at 14:48 | |||||
Aug 18, 2013 at 15:25 | audit | Reopen votes | |||
Aug 18, 2013 at 15:39 | |||||
Aug 18, 2013 at 9:32 | audit | First posts | |||
Aug 18, 2013 at 9:32 | |||||
Aug 16, 2013 at 23:27 | history | edited | mario | CC BY-SA 3.0 |
added 2848 characters in body
|
S Aug 16, 2013 at 22:26 | history | bounty ended | mario | ||
S Aug 16, 2013 at 22:26 | history | notice removed | mario | ||
Aug 16, 2013 at 20:17 | audit | First posts | |||
Aug 16, 2013 at 20:18 | |||||
Aug 15, 2013 at 12:34 | comment | added | allprog | You put an impressive amount of work into this. Respect for that. It's probably very good for teachers to learn to fast point out errors or for those creating IDEs or implementing quick fixes. However, IDEs will already effectively do most of this work for you, as @Panique suggests. Additionally, im many cases the start again from scratch is a good option. | |
Aug 12, 2013 at 21:49 | comment | added | Owen Beresford | This isn't enough data to be an answer, but one could write a analyser with parsekit_compile_string, and put more friendly answers on it. If integrated into your IDE, this could be quite informative. | |
Aug 12, 2013 at 19:16 | answer | added | Sliq | timeline score: 121 | |
S Aug 9, 2013 at 1:00 | history | bounty started | mario | ||
S Aug 9, 2013 at 1:00 | history | notice added | mario | Improve details | |
Aug 7, 2013 at 8:36 | vote | accept | mario | ||
Aug 6, 2013 at 23:46 | history | edited | mario | CC BY-SA 3.0 |
added 777 characters in body; edited title
|
Aug 6, 2013 at 23:40 | answer | added | mario | timeline score: 11 | |
Aug 6, 2013 at 23:39 | answer | added | mario | timeline score: 19 | |
Aug 6, 2013 at 23:37 | answer | added | mario | timeline score: 33 | |
Aug 6, 2013 at 23:36 | answer | added | mario | timeline score: 30 | |
Aug 6, 2013 at 23:34 | answer | added | mario | timeline score: 51 | |
Aug 6, 2013 at 23:33 | history | undeleted | mario | ||
Aug 5, 2013 at 3:11 | history | deleted | mario | via Vote | |
S Aug 5, 2013 at 3:11 | answer | added | mario | timeline score: 328 | |
S Aug 5, 2013 at 3:11 | history | asked | mario | CC BY-SA 3.0 |