3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_agent = 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20060601 Firefox/2.0.0.1 (Ubuntu-edgy)'; var_dump( strpos( $user_agent, 'Edg' ) ); var_dump( strpos( $user_agent, 'edg' ) );
Output for 7.4.0 - 7.4.30, 8.0.1 - 8.0.23, 8.1.0 - 8.1.10
bool(false) int(91)

preferences:
45.2 ms | 409 KiB | 5 Q