3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var GetRoomsAndRatePlansActionRQ = { "password":"a191347435235c5a14dd0633e0bcb62a7f5f42286f5c849e47f29e00e22d1a82", "username": "10", "action":"get-rooms-and-rate-plans", "data":{ "hotelId": "432385" } }; $.post( "http://api.azureapi.v24.ru/travelline/", GetRoomsAndRatePlansActionRQ, function( data ) { console.log( data ); }, "json");
based on Jlpec
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected 'var' (T_VAR), expecting end of file in /in/H20fn on line 3
Process exited with code 255.
Output for 5.4.11 - 5.6.16
Parse error: syntax error, unexpected 'var' (T_VAR) in /in/H20fn on line 3
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_VAR in /in/H20fn on line 3
Process exited with code 255.