How to include functions with no class in strict mode

Discussion about the open-source Phalanger [?] project.

How to include functions with no class in strict mode

Postby RobertPlummer » April 1st, 2015, 8:29 pm

These are the functions:
https://github.com/gabordemooij/redbean ... ctions.php

This is the project I'm trying to include them in:
https://github.com/robertleeplummerjr/redbean.net

This is the command to build it:
https://github.com/robertleeplummerjr/r ... /build.bat

This will be very similar to:
https://github.com/wikiLingo/wikiLingo.net

The original developer doesn't want to change how he is using the functions, and I thought this would be a great unit test or example to have out in the wild. Also, I'd like to show that Entity Framework isn't the only kid on the block.
RobertPlummer
 
Posts: 37
Joined: April 7th, 2014, 1:45 pm

Re: How to include functions with no class in strict mode

Postby RobertPlummer » April 3rd, 2015, 2:05 am

Could I just search and replace using cli and exclude this file? Come on guys, don't leave me hangin'.
RobertPlummer
 
Posts: 37
Joined: April 7th, 2014, 1:45 pm

Re: How to include functions with no class in strict mode

Postby RobertPlummer » April 3rd, 2015, 8:37 pm

Nevermind, I found that the functions in question in the file that was causing the issues are only actually used in the test suite, so they are not crutial to this project. Thanks again guys for your hard and outstanding work.
RobertPlummer
 
Posts: 37
Joined: April 7th, 2014, 1:45 pm


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 27 guests

cron

User Control Panel

Login

Who is online

In total there are 27 users online :: 0 registered, 0 hidden and 27 guests (based on users active over the past 5 minutes)
Most users ever online was 227 on March 28th, 2024, 9:13 am

Users browsing this forum: No registered users and 27 guests