You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) there is a generated warning
2) translated to exception
3) which is thrown inside a `__toString()` method
4) and it cause the segfault on the given stack
Isolated source of warning is:
$func = 'preg_replace';
$args = [
0 => '#a#',
1 => 'b',
2 => 'aaa',
];
$func(...$args);
# PHP Warning: preg_replace() expects at least 3 parameters, 0 given in /var/www/html/sandbox/www/test.php on line 11
In the sendbox setup a posted above, the warning is thrown on this line.
Hi,
I'm getting segfault with suhosin enabled. When disabled, everything works fine. Environment and steps to reproduce it:
Following is the setup of Nette Sanbox application:
Segfault can be reproduced from CLI
Or if you wish reproduce it from Apache2, setup proper permissions:
If you don't want to prepare setup, please, let me, how can I collect debug information for you.
Btw. I have to disable suhosin module for
composer
to run.The text was updated successfully, but these errors were encountered: