TerrePorter / StringBladeCompiler

Render Blade templates from string
MIT License
175 stars 76 forks source link

[5.0.1] Segmentation fault (core dumped) / Maximum function nesting level of '512' reached, aborting! #65

Closed veneliniliev closed 1 year ago

veneliniliev commented 3 years ago

when update to 5.0.1 has this errors:

TerrePorter commented 3 years ago

bummer, humm.... i had that happen once but it never happened again. I will see what i can figure out

TerrePorter commented 3 years ago

@veneliniliev how complex is your template?

veneliniliev commented 3 years ago

this errors show before compile template...

TerrePorter commented 3 years ago

I am not getting the error here.

try isolating to confirm the error is in stringblade

Route::get('/test', function () {
    return view (['template' => '{{$token}}'], ['token' => 'I am the token value']);
});