3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '{"QualificationPII":{"age":662,"agent_id":"0","arrival_guid":null,"campus_online":"both","cell_phone":null,"city":"HIGHLAND PARK","country":"1","daytime_phone":{"area_code":"313","line_number":"0836","prefix":"544"},"education_level":"1143","education_when_start":"113","email":"arkeontaylor@yahoo.com","evening_phone":{"area_code":"313","line_number":"0836","prefix":"544"},"first_name":"ARKEON","high_school_graduation_year":3449,"interest_area":"[\"243\"]","last_name":"TAYLOR","military":"81","rn_license":"1065","state":"149","street_address1":"33 LABELLE","street_address2":null,"teaching_certificate":false,"zip_code":"48203"}}'; $test2 = str_replace('\', '', $test); echo $test2;
Output for 5.4.0 - 5.4.39
Parse error: syntax error, unexpected '', $test);' (T_ENCAPSED_AND_WHITESPACE) in /in/sjuZn on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/sjuZn on line 5
Process exited with code 255.
Output for 5.2.3 - 5.2.17
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /in/sjuZn on line 5 Warning: Wrong parameter count for str_replace() in /in/sjuZn on line 5
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.2
Parse error: syntax error, unexpected ''' in /in/sjuZn on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '\'' in /in/sjuZn on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/sjuZn on line 5
Process exited with code 255.

preferences:
210.57 ms | 1395 KiB | 129 Q