Fabien Potencier
47d745b7ed
Add back the if condition on for loops
2024-08-28 22:14:47 +02:00
Fabien Potencier
a5882760df
Fix CS
2024-08-07 19:37:53 +02:00
Fabien Potencier
fa1a217f1a
Add another test
2024-07-28 10:08:38 +02:00
Fabien Potencier
036c9943db
Don't unset loop when it's not defined
2024-07-28 10:08:38 +02:00
Fabien Potencier
1b9baa764b
Remove usage of the internal _parent context variable in loops
2024-07-28 10:08:38 +02:00
Fabien Potencier
e95d6b2f21
Add support for recursive loops
2024-07-28 10:08:35 +02:00
Fabien Potencier
7f0f313f1a
Make some small internal tweaks to loops
2024-07-18 08:26:46 +02:00
Fabien Potencier
65b4ea4394
Add loop.changed, loop.previous, loop.next, and loop.cycle variables
2024-07-12 11:13:02 +02:00
Fabien Potencier
437ad31dfa
Move some code to LoopContext
2024-07-11 09:35:26 +02:00
Fabien Potencier
17ef0bef4b
Introduce a Loop object
2024-07-11 08:03:08 +02:00
Nicolas Grekas
e70777405d
Add #[YieldReady] to allow extensions to tell when they're ready for yielding
2024-02-15 10:27:26 +01:00
Fabien Potencier
7e1945a618
minor #3991 Fix some errors reported by phpstan (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Fix some errors reported by phpstan
Commits
-------
2b2ac80d Fxi some errors reported by phpstan
2024-02-05 18:59:35 +01:00
Fabien Potencier
2b2ac80d34
Fxi some errors reported by phpstan
2024-02-05 17:48:36 +01:00
Fabien Potencier
15879406c8
Remove the new yield nodes
2024-01-25 13:09:58 +01:00
Fabien Potencier
54d34b969b
Move functions for CoreExtension
2023-12-10 20:13:10 +01:00
Fabien Potencier
6823b64cad
moved test under tests/
2019-06-30 14:56:12 +02:00