3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!-- <ssiadmin phpsetvar="fadeImage[0]['image']" src="/images/1background.jpg" name="Fade Image 1" type="image" dir="images"><?php $fadeImage[0]['image'] = '/images/1background.jpg'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[0]['line1']" text="Line 1 text" name="Fade Image 1 Line 1" type="text"><?php $fadeImage[0]['line1'] = 'Line 1 text'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[0]['line2']" text="Line 2 text" name="Fade Image 1 Line 2" type="text"><?php $fadeImage[0]['line2'] = 'Line 2 text'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[0]['line3']" text="Line 3 text" name="Fade Image 1 Line 3" type="text"><?php $fadeImage[0]['line3'] = 'Line 3 text'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[0]['text']" text="text area text area text area text area text area text area text area text area text area text area text area text area text area text area text area text area text area t$ <ssiadmin phpsetvar="fadeImage[0]['link']" text="#" name="Fade Image 1 Link" type="text"><?php $fadeImage[0]['link'] = '#'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[1]['image']" name="Fade Image 2" type="image" dir="images"></ssiadmin> <ssiadmin phpsetvar="fadeImage[1]['line1']" text="Line 1 text 2" name="Fade Image 2 Line 1" type="text"><?php $fadeImage[1]['line1'] = 'Line 1 text 2'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[1]['line2']" text="line 2 test 2" name="Fade Image 2 Line 2" type="text"><?php $fadeImage[1]['line2'] = 'line 2 test 2'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[1]['line3']" text="line 3 text 2" name="Fade Image 2 Line 3" type="text"><?php $fadeImage[1]['line3'] = 'line 3 text 2'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[1]['text']" text="text area 2 text area 2 text area 2 text area 2 text area 2 text area 2 text area 2 text area 2 text area 2 " name="Fade Image 2 Large text area" type="text"><?php $fadeIm$ <ssiadmin phpsetvar="fadeImage[2]['image']" src="/images/4background.jpg" name="Fade Image 3" type="image" dir="images"><?php $fadeImage[2]['image'] = '/images/4background.jpg'; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[2]['line1']" name="Fade Image 3 Line 1" type="text"><?php $fadeImage[2]['line1'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[2]['line2']" name="Fade Image 3 Line 2" type="text"><?php $fadeImage[2]['line2'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[2]['line3']" name="Fade Image 3 Line 3" type="text"><?php $fadeImage[2]['line3'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[2]['text']" name="Fade Image 3 Large text area" type="text"><?php $fadeImage[2]['text'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[3]['image']" name="Fade Image 4" type="image" dir="images"></ssiadmin> <ssiadmin phpsetvar="fadeImage[3]['line1']" name="Fade Image 4 Line 1" type="text"><?php $fadeImage[3]['line1'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[3]['line2']" name="Fade Image 4 Line 2" type="text"><?php $fadeImage[3]['line2'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[3]['line3']" name="Fade Image 4 Line 3" type="text"><?php $fadeImage[3]['line3'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[3]['text']" name="Fade Image 4 Large text area" type="text"><?php $fadeImage[3]['text'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[4]['image']" name="Fade Image 5" type="image" dir="images"></ssiadmin> <ssiadmin phpsetvar="fadeImage[4]['line1']" name="Fade Image 5 Line 1" type="text"><?php $fadeImage[4]['line1'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[4]['line2']" name="Fade Image 5 Line 2" type="text"><?php $fadeImage[4]['line2'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[4]['line3']" name="Fade Image 5 Line 3" type="text"><?php $fadeImage[4]['line3'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[4]['text']" name="Fade Image 5 Large text area" type="text"><?php $fadeImage[4]['text'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[5]['image']" name="Fade Image 6" type="image" dir="images"></ssiadmin> <ssiadmin phpsetvar="fadeImage[5]['line1']" name="Fade Image 6 Line 1" type="text"><?php $fadeImage[5]['line1'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[5]['line2']" name="Fade Image 6 Line 2" type="text"><?php $fadeImage[5]['line2'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[5]['line3']" name="Fade Image 6 Line 3" type="text"><?php $fadeImage[5]['line3'] = ''; ?></ssiadmin> <ssiadmin phpsetvar="fadeImage[5]['text']" name="Fade Image 6 Large text area" type="text"><?php $fadeImage[5]['text'] = ''; ?></ssiadmin> --> <?php $i = 0; $j = 0; foreach($fadeImage as $image) { if($fadeImage[$i]['image'] != "") { ?> images['image'][<?php echo $j; ?>]="<?php echo $fadeImage[$i]['image']; ?>"; <?php echo "\n"; ?> images['line1'][<?php echo $j; ?>]="<?php echo $fadeImage[$i]['line1']; ?>"; <?php echo "\n"; ?> images['line2'][<?php echo $j; ?>]="<?php echo $fadeImage[$i]['line2']; ?>"; <?php echo "\n"; ?> images['line3'][<?php echo $j; ?>]="<?php echo $fadeImage[$i]['line3']; ?>"; <?php echo "\n"; ?> images['text' ][<?php echo $j; ?>]= "<?php echo $fadeImage[$i]['text']; ?>"; <?php echo "\n"; $j++; } else { } $i++; } ?>
based on jb4pL
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.31
Parse error: syntax error, unexpected '$' in /in/iSMVT on line 13
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '$' in /in/iSMVT on line 13
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/iSMVT on line 13
Process exited with code 255.