3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $shipper_data = "<RateV4Request USERID='" . Joe ."'> <Revision/>"; $shipper_data .= " <Package ID='1ST' > <Service>reg_rate</Service> <ZipOrigination>17225</ZipOrigination> <ZipDestination>47301</ZipDestination> <Pounds>5</Pounds> <Ounces>0</Ounces> <Container>RECTANGULAR</Container> <Size>LARGE</Size> <Width>7</Width> <Length>10</Length> <Height>5</Height> <Machinable>true</Machinable> </Package>"; $shipper_data .= " </RateV4Request>"; echo $shipper_data;
based on uMHLG
Output for 7.2.0
Warning: Use of undefined constant Joe - assumed 'Joe' (this will throw an Error in a future version of PHP) in /in/hdcWZ on line 2 <RateV4Request USERID='Joe'> <Revision/> <Package ID='1ST' > <Service>reg_rate</Service> <ZipOrigination>17225</ZipOrigination> <ZipDestination>47301</ZipDestination> <Pounds>5</Pounds> <Ounces>0</Ounces> <Container>RECTANGULAR</Container> <Size>LARGE</Size> <Width>7</Width> <Length>10</Length> <Height>5</Height> <Machinable>true</Machinable> </Package> </RateV4Request>
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant Joe - assumed 'Joe' in /in/hdcWZ on line 2 <RateV4Request USERID='Joe'> <Revision/> <Package ID='1ST' > <Service>reg_rate</Service> <ZipOrigination>17225</ZipOrigination> <ZipDestination>47301</ZipDestination> <Pounds>5</Pounds> <Ounces>0</Ounces> <Container>RECTANGULAR</Container> <Size>LARGE</Size> <Width>7</Width> <Length>10</Length> <Height>5</Height> <Machinable>true</Machinable> </Package> </RateV4Request>