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
When looking at the code I came across this hack in src/fpdm.php
//My PHP4/5 static call hack, only to make the callback $this->replace_value($matches,"$value") possible!$callback_code='$THIS=new FPDM("[_STATIC_]");return $THIS->replace_value($matches,"'.$value.'");';
$field_regexp='/^\/(\w+)\s?(\<|\()([^\)\>]*)(\)|\>)/';
if(preg_match($field_regexp,$CurLine)) {
//modify it according to the new value $value$CurLine = preg_replace_callback(
$field_regexp,
create_function('$matches',$callback_code),
$CurLine
);
}else {
if($verbose_set) echo("<br>WARNING:".htmlentities("Can not access to the value: $CurLine using regexp $field_regexp"));
}
PHPs create_function() seems to be deprecated as of 7.2. So this hack might fail in the future.
The text was updated successfully, but these errors were encountered:
When looking at the code I came across this hack in
src/fpdm.php
PHPs create_function() seems to be deprecated as of 7.2. So this hack might fail in the future.
The text was updated successfully, but these errors were encountered: