CodefyPHP FrameworkCodefyPHP Framework
  • Home
  • Community
    • Forum
    • Github
    • YouTube
  • News
  • Home
  • Community
    • Forum
    • Github
    • YouTube
  • News
home/Knowledge Base/Helpers/trigger_error__
Popular Search:installation, codex, mail

trigger_error__

38 views 0

Written by Joshua
August 14, 2024

Description

Wrapper function for the core PHP function: trigger_error.

This function makes the error a little more understandable for the end user to track down the issue.

Usage

<?php

use function Qubus\Support\Helpers\trigger_error__;

trigger_error__(string $message, int $level = E_USER_NOTICE): void;

Parameters

$message (string) (required) Custom message to print.

$level (int) (optional) Predefined PHP error constant.

Return Value

(void)

Edit on Github

Last Updated on August 14, 2024 by Joshua

Related Articles
  • mail
  • sort_element_callback
  • php_where
  • php_like
  • convert_array_to_object
  • compact_unique_array

Didn't find your answer? Check out the Forum

Leave A Comment Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  t__

add_trailing_slash  

  • Copyright 2025 CodefyPHP.com. All Rights Reserved

Popular Search:installation, codex, mail