3v4l.org

run code in 300+ PHP versions simultaneously
<?php $from_line_no = 5; $to_line_no = 10; $match[1] = 5; $match[4] = 10; assert('$match[1] - $from_line_no == $match[4] - $to_line_no'); assert($match[1] - $from_line_no == $match[4] - $to_line_no); $match[1] = 8; assert('$match[1] - $from_line_no == $match[4] - $to_line_no'); assert($match[1] - $from_line_no == $match[4] - $to_line_no);

preferences:
69.73 ms | 404 KiB | 5 Q