3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ( has_post_thumbnail()) : the_post_thumbnail( 'galeri', array('class' => 'fl-right', 'alt' => ''.get_the_title().'', 'title' => ''.get_the_title().'' )); elseif (get_post_meta($post->ID, 'resim', true) != '') : echo '<img class="fl-right" src="'.get_post_meta($post->ID, 'resim', true).'" alt="'.get_the_title().'" width="103" height="70" />'; else : echo '<img class="fl-right" src="'.fs_get_option('fs_logo').'" alt="'.get_the_title().'" width="103" height="70" />'; endif; ?>
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function has_post_thumbnail() in /in/nWJg9:3 Stack trace: #0 {main} thrown in /in/nWJg9 on line 3
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Call to undefined function has_post_thumbnail() in /in/nWJg9 on line 3
Process exited with code 255.