3v4l.org

run code in 300+ PHP versions simultaneously
<?php $youArray = array( "Motivated and want to share your skills", "Passionate about doing things the right way", "Able to build scalable, high availability sites", "Current with the latest PHP technologies", "You have an eye for user experience", "Want to be part of a strong development team", "You have the need to make a difference in your career", ); $aboutUsArray = array ( "Established in 2001", "A leading healthcare technology company specializing in electronic data capture web applications", "Our systems are designed for the global life sciences market", "Work with leading pharmaceutical, medical device, biotechnology and contract research organizations", "We are growing quickly", "Fast-paced and dynamic organization", "We have an awesome team atmosphere", ); $downsidesArray = array(); //We have done something wrong if this array ever contains data foreach ($youArray as $thingsWeLikeInPeople) { $a[] = explode(" ",$thingsWeLikeInPeople); } foreach ($aboutUsArray as $thingsYouWillLove) { $b[] = explode(" ",$thingsYouWillLove); } $whyYouShouldJoinUsArray = array($b[6][0],$b[4][1],$b[4][2],strtolower($b[2][0]),$a[3][4],$b[1][10],$a[5][7],$b[6][4],$a[0][1],$a[6][3],$a[0][5],$b[6][3],$a[3][4],$a[0][6],"!!!"); echo '<hr/><div style="text-align:center"><a href="http://tinyurl.com/pawxdk8"><img border="0" src="http://tinyurl.com/qfou344"></a>' . '<p style="font-size:28px">' . implode($whyYouShouldJoinUsArray, " ") . '</p>' . 'For more information, <b>visit <a href="http://tinyurl.com/pawxdk8">www.mednetstudy.com</a></b><p/></div><hr/>'; ?>
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /in/G9ocZ:35 Stack trace: #0 /in/G9ocZ(35): implode(Array, ' ') #1 {main} thrown in /in/G9ocZ on line 35
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /in/G9ocZ on line 35 <hr/><div style="text-align:center"><a href="http://tinyurl.com/pawxdk8"><img border="0" src="http://tinyurl.com/qfou344"></a><p style="font-size:28px">We are growing our PHP web development team and need your awesome PHP skills !!!</p>For more information, <b>visit <a href="http://tinyurl.com/pawxdk8">www.mednetstudy.com</a></b><p/></div><hr/>
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33
<hr/><div style="text-align:center"><a href="http://tinyurl.com/pawxdk8"><img border="0" src="http://tinyurl.com/qfou344"></a><p style="font-size:28px">We are growing our PHP web development team and need your awesome PHP skills !!!</p>For more information, <b>visit <a href="http://tinyurl.com/pawxdk8">www.mednetstudy.com</a></b><p/></div><hr/>

preferences:
306.28 ms | 405 KiB | 459 Q