You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
\$\begingroup\$ Why do I get a "Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in [...] on line 2"? \$\endgroup\$Pierre Paquette– Pierre Paquette2021年05月22日 16:01:40 +00:00Commented May 22, 2021 at 16:01
-
\$\begingroup\$ @PierrePaquette in which language? \$\endgroup\$Kaddath– Kaddath2021年05月24日 07:13:04 +00:00Commented May 24, 2021 at 7:13
-
\$\begingroup\$ Sorry! In PHP 7. \$\endgroup\$Pierre Paquette– Pierre Paquette2021年05月24日 20:33:13 +00:00Commented May 24, 2021 at 20:33
-
\$\begingroup\$ @PierrePaquette you mean the generator or the generated code? In TIO the PHP version is 7.4 and it works, I've tried on my local server too.. note that the code may output notices, or even errors from the eval'ed code, but it doesn't stop the execution and you should have the final result \$\endgroup\$Kaddath– Kaddath2021年05月25日 09:50:36 +00:00Commented May 25, 2021 at 9:50