Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8717673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:21:19+00:00 2026-06-13T06:21:19+00:00

I came across a weird error in PHP: mysql() I tried with three different

  • 0

I came across a weird error in PHP:

mysql()

I tried with three different setups, and each time declaring a function with this name and any or no arguments generates an error:

Fatal error: Cannot redeclare mysql()

Yet, I cannot find a function with such name in the function index, if it really existed I guess it would have been here. I tried searching the web but the ambiguity of my search queries makes any info on this difficult to find.

Usefullness of having a function called simply mysql() aside, what is this function and why is it not documented?


Possibilities I ruled out:

  • That it could be a class constructor (there is no such class)
  • That the name of the module is the cause of conflict (doesn’t work with other modules, like mssql)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:21:20+00:00Added an answer on June 13, 2026 at 6:21 am

    just a non documented reserved word
    http://php.net/manual/en/reserved.keywords.php

    checking the source code, i’ve seen that function is empty

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Came across this code: <?php require_once 'HTTP/Session/Container/DB.php'; $s = new HTTP_Session_Container_DB('mysql://user:password@localhost/db'); ini_get('session.auto_start') or session_start();
I'm trying to do a bit of charting and came across this weird error
I tried modifying a Yesod project, and came across a weird error. First I
I just came across a weird error: private bool GetBoolValue() { //Do some logic
I came across a piece of code which looks like this: jQuery(function($) { $('#saySomething').click(function()
I just came across this weird problem that is happening in IE. In the
I accidentally came across this weird but valid syntax i=3 print i+++i #outputs 6
I came across this problem two or three times. One of my customer restored
I recently came across some weird looking class that had three constructors: class Class
I came across this weird C++ program. #include <iostream> using namespace std; int main()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.