Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated Filename: core/Output.php

Before Use Ternary Operator
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);

After User Ternary Oparator
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Passing #null #parameter #type #deprecated
ADD COMMENT
Topic
Name
1+2 =