Skip to main content
GrN.dk

Main navigation

  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Check defined constants - PHP Code Snippet

<?php 

define('DISALLOW_FILE_EDIT', true);

echo "\n DISALLOW_FILE_EDIT is: " . constant('DISALLOW_FILE_EDIT') . "\n";

//$constants = get_defined_constants();
//var_dump($constants); // pretty large list
?>

Key words: define defined constant constants

Last modified
2021-10-01

Tags

  • Script
  • php
  • Linux
  • server

Review Greg on Google

Greg Nowak Google Reviews

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.