3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $body = " employee_name ======= '<employee_name>' expiration_date ======= '<expiration_date>' issue_date ======= '<issue_date>' district_name ======= '<district_name>' video_link ======= '<video_link>' system_name ======= '<system_name>' system_url ======= '<system_url>' support_email ======= '<support_email>' support_phone ======= '<support_phone>' signature ======= '<signature>' contract_period ======= '<contract_period>' pass_code ======= '<pass_code>' contract_year ======= '<contract_year>' "; $values = array( '<employee_name>' => "HHHHHHHHHH", '<expiration_date>' => 1223234234, '<issue_date>' => 555555, '<district_name>' => '?district_name?', '<video_link>' => '?video_link?', '<system_name>' => 'gfdgdfth', '<system_url>' => '?system_url?', '<support_email>' => 'Support_Email', '<support_phone>' => 'Support_Phone', '<signature>' => 'GLBteam_name', '<contract_period>' => '?contract_period?', '<pass_code>' => '?pass_code?', '<contract_year>' => '?contract_year?' ); foreach ($values as $key=>$value){ str_replace($key, $value, &$body); } echo $body;
Output for 5.4.0 - 5.4.19
Fatal error: Call-time pass-by-reference has been removed in /in/otpeP on line 35
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/otpeP on line 35 employee_name ======= '<employee_name>' expiration_date ======= '<expiration_date>' issue_date ======= '<issue_date>' district_name ======= '<district_name>' video_link ======= '<video_link>' system_name ======= '<system_name>' system_url ======= '<system_url>' support_email ======= '<support_email>' support_phone ======= '<support_phone>' signature ======= '<signature>' contract_period ======= '<contract_period>' pass_code ======= '<pass_code>' contract_year ======= '<contract_year>'