0

When I input this PHP code, the magic constant _LINE_ just gets output literally.

<!DOCTYPE html>
<html>
<body>

<?php

echo "This is line"._LINE_."blah";

?>
</body>
</html>

Output:

 This is line_LINE_

What am I doing wrong?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
Nihal Sahu
  • 189
  • 1
  • 2
  • 13

1 Answers1

5

two underscores before and after :

__LINE__
Matthew
  • 10,988
  • 11
  • 54
  • 69