3v4l.org

run code in 300+ PHP versions simultaneously
<?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.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
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.5.24 - 5.5.35, 5.6.8 - 5.6.28
Fatal error: Call to undefined function has_post_thumbnail() in /in/nWJg9 on line 3
Process exited with code 255.

preferences:
148.65 ms | 402 KiB | 200 Q