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 8040023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:45:29+00:00 2026-06-05T03:45:29+00:00

I am attempting to integrate the PHPJS ( http://phpjs.org/ ) library with some code

  • 0

I am attempting to integrate the PHPJS (http://phpjs.org/) library with some code and am having trouble calling any of the functions and the library’s websites does not have a step-by-step for getting started.

I am using the base download php.default.min.js and have created a bare bones page:

<html>
<head>
<script type="text/javascript" src="php.default.min.js"></script>
<script type="text/javascript">
alert(phpversion());
</script>
</head>
<body></body>
</html>

I would expect that to produce a JavaScript alert but I only get a JS error of:

Uncaught ReferenceError: phpversion is not defined.

How do I go about utilizing the functions in the PHP.js library?

  • 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-05T03:45:31+00:00Added an answer on June 5, 2026 at 3:45 am

    you’re using the default package, which doesn’t come with the phpversion function. Try using the full package. Both releases have a list of supported functions in the links I’ve attached.

    Hope it helps!

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

Sidebar

Related Questions

I'm attempting to integrate yaml-cpp into a project, but I'm seeing some unexpected errors
I just want some confirmation. I'm developing on windows I'm attempting to integrate facebook
I want to integrate some existing Perl code with ASP.NET. I see plenty examples
I am attempting to rewrite some code that was using FileSearch for Excel 2003
I'm attempting to integrate jqGrid into an ASP.NET MVC 4 Razor view and have
I'm attempting to integrate my webapp's calendar with Google Calendar. I'm successfully authenticating the
I have an app that I'm attempting to integrate hibernate search into. I'm using
I am attempting to integrate Stripe's recurring payment system with Devise, using Ryan's recent
We are attempting to integrate an ASP.NET MVC site with our client's SSO system
I'm attempting to integrate with the TeamCity REST API. It contains timestamps of the

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.