Hello,
I'm using Phalanger 2 (2011) with visual studio 2008 to compile full php lib. I've made the nessecary changes (global variables, includes, add Export marker)...I created Class Library for t...
Id #34076 | Release:
None
| Updated: May 21 at 9:53 PM by zalasx | Created: May 21 at 6:24 PM by zalasx
I try to use some code with some xml file into an php file (something.php) with inline php code inside like this
:
<?xml version='1.0' .....
<?php /* my php code */ ?>
I got an error :
Syntax e...
Id #33914 | Release:
None
| Updated: Mar 23 at 12:43 AM by jakub | Created: Mar 22 at 4:15 PM by optice
Error 50 Internal error!
Please, report this bug via http://www.codeplex.com/WorkItem/List.aspx?ProjectName=Phalanger.
Additional information:
Method '.ctor' does not have a method body.
at Sy...
Id #33890 | Release:
None
| Updated: Mar 18 at 12:25 PM by jakub | Created: Mar 18 at 1:08 AM by StanislavPrusac
Hi there,
The following syntax is not valid neither for Phalanger nor PHP using the Phalanger Tools for VS (2012) version 3.0.4069
$callback = function myCallbackFunction()
{
echo "callback ach...
Id #33861 | Release:
None
| Updated: Mar 10 at 8:21 PM by jakub | Created: Mar 10 at 7:08 PM by carlosqt
I would like to see the possibility, to include loaders (ioncube for example). Atm, i dont have any clue, how to do this.
Id #33860 | Release:
None
| Updated: Mar 10 at 3:57 PM by jakub | Created: Mar 10 at 1:55 PM by SoftCreatR
i don't have enogh time and implemented this fixes and features via Extension class in my project and tested only with my project
Id #33656 | Release:
None
| Updated: Feb 21 at 11:41 PM by pr0ff | Created: Jan 11 at 2:33 PM by pr0ff
while ($result = dbFetchArray($result))
in php works fine, in phalanger on second iteration dbFetchArray got result from first iteration
Id #33655 | Release:
None
| Updated: Feb 21 at 11:41 PM by pr0ff | Created: Jan 11 at 2:09 PM by pr0ff
if ($temp[$i]) {$temp[$i] = explode(':', $temp[$i]); $headers[reset(array_splice($temp[$i],0,1))] = trim(implode(':', $temp[$i]));}
//got original array in implode
if ($temp[$i])
{
$temp[$i] = e...
Id #33654 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Jan 11 at 1:52 PM by pr0ff
ConvertPossesiveToAtomicGroup doesn't fix the following RegEx:
^ *(\t) *+(\w+)
from:
preg_match('/^ *(\t) *+(\w+)/', $line)
This one is used in Symphony Spyc.class.php
Thanks
Id #32836 | Release:
None
| Updated: Feb 21 at 11:41 PM by j_doering | Created: Jun 12, 2012 at 3:00 AM by j_doering
If there are issues with SELinux can someone help me make a policy or at least temporarily disable SELinux. A duplicate issue is on DevSense.com
The following have been investigated on CentOS 6....
Id #32835 | Release:
None
| Updated: Feb 21 at 11:41 PM by BennettJA | Created: Jun 11, 2012 at 8:26 PM by enzo_paninni
I've been trying to find information on the status of native extensions on Linux and Mono, but have been unsuccessful. Are there any updates on this?
Thanks.
Id #32795 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: May 31, 2012 at 6:29 PM by jdluzen
Hi. I have created a project in which all my .php files are set to build action EmbeddedResource, and in my main web.project I have referenced this project, and use a custom VirtualPathProvider to ...
Id #32785 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: May 29, 2012 at 4:10 PM by mcintyre321
Would be nice to see Phalanger as a NuGet package to get an installation-free Phalanger (no GAC, no machine.config, preconfigured web.config) like detailed in this article: http://www.php-compiler....
Id #32461 | Release:
None
| Updated: Feb 21 at 11:41 PM by hpatcouto | Created: Mar 20, 2012 at 7:21 AM by tobias
I got an internal error when compile codes in App_Code folder.
Compiler error message
Phalanger - the PHP Language Compiler - commencing compilation in a separate appdomain
Source files to compil...
Id #32193 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Feb 7, 2012 at 12:12 AM by rkttu
Take the following simple php page:
<?php
setlocale(LC_ALL, "Norwegian", "no");
$localeconv = localeconv();
echo "decimal_point is " . $localeconv['decimal_point'] . "'";echo '<br />';$pi = 3.14;...
Id #31368 | Release:
None
| Updated: Feb 21 at 11:41 PM by Richard_Browne | Created: Sep 1, 2011 at 10:57 AM by Richard_Browne
Hi, I'm using Phalanger in an attempt to use
NBBC in C#
I am trying to build a pure console application (although I also get this problem in a standard console application) where the following l...
Id #31054 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Jul 21, 2011 at 7:42 AM by jakub
If I do session_start() followed by session_destroy() followed by session_start() in Phalanger, any variables added to $_SESSION are lost. The session is not persisted.
Unzip the attached to file...
Id #30497 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Apr 8, 2011 at 7:47 AM by Richard_Browne
Update ScriptContext.CLR.cs and/or others;add missing predefined constants. See http://php.net/manual/en/reserved.constants.php .
Id #30061 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Jan 27, 2011 at 2:05 PM by jakub
when class declaration or include is conditional, but the condition is evaluated in compile time - it should be processed as unconditional. Otherwise it disallows lot of optimizations.
if (versio...
Id #29992 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Jan 19, 2011 at 6:23 AM by jakub
When varible is referenced once it's saved as PhpReference which even deeply copied just returns this.
Note: This problem doesn't affect global variables because they already have a storage that ...
Id #29947 | Release:
None
| Updated: Feb 21 at 11:41 PM by miloslavbeno | Created: Jan 9, 2011 at 10:58 PM by miloslavbeno
watch for
[ConditionalAttribute("DEBUG")]
function ...
to not call in release build of PHP application
Id #29922 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Jan 6, 2011 at 12:23 PM by jakub
The use of the \g sequence with a negative number signifies a relative reference. For example, (foo)(bar)\g{-1} would match the sequence "foobarbar" and (foo)(bar)\g{-2} matches "foobarfoo".
Id #29600 | Release:
None
| Updated: Feb 21 at 11:41 PM by miloslavbeno | Created: Nov 30, 2010 at 5:50 PM by miloslavbeno
My php has the following function
<?
class SampleObj
{
function GetValue()
{
return "Hello";
}
function GetRefValue(&$in)
{
$in = "Hello";
}
}
?>
...
Id #29411 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Nov 12, 2010 at 9:38 AM by Addabis
Id #28947 | Release:
None
| Updated: Feb 21 at 11:41 PM by Addabis | Created: Sep 22, 2010 at 7:59 PM by Addabis
see
Serialization.EnumerateSerializableProperties
affects serialize() and json_encode() currently
Id #28120 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Jul 17, 2010 at 1:35 PM by jakub
$x =simplexml_load_file ("data.xml");
$a = serialize($x);
var_dump($a);
var_dump(unserialize($a)); // error on unserialize
Id #28116 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Jul 16, 2010 at 11:10 PM by jakub
SELECT date_field FROM some_table
5 5 2010 20:19
It would be nice if the result of this query in Phalanger were able to be put back into a query directly. As it stands right now, if one selects ...
Id #26979 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: May 5, 2010 at 10:18 PM by Mike_Matthews_II
The following regexp gives a false positive on a solely English characters:
preg_match('/[\x{80}-\x{A0}'. // Non-printable ISO-8859-1 + NBSP
'\x{AD}'. // S...
Id #26886 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Apr 26, 2010 at 9:06 PM by esteewhy
public static object GetUnixTime(string date)
{
var offset = TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now).Hours;
var origin = new DateTime(1970, 1, 1);
DateTime d...
Id #26775 | Release:
None
| Updated: Feb 21 at 11:41 PM by Mike_Matthews_II | Created: Apr 14, 2010 at 7:41 PM by Mike_Matthews_II
in Stream.Sockets.CLR.cs
Id #26661 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Mar 31, 2010 at 6:54 PM by jakub
Id #26659 | Release:
None
| Updated: Jun 15, 2010 at 8:28 PM by jakub | Created: Mar 31, 2010 at 6:52 PM by jakub
3rd argument needs to be implemented
Id #26353 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Feb 27, 2010 at 10:41 AM by jakub
Warning showed during compilation isn't showed during execution like in PHP.
Example:
<?php
$i = 7/0;
?>
Id #25803 | Release:
None
| Updated: Feb 21 at 11:41 PM by jakub | Created: Dec 29, 2009 at 6:25 PM by miloslavbeno
Phalanger tries to be PHP compatible while providing support for Unicode. The current design is problematic because PHP internally only supports SBCS encodings. This means that functions line strle...
Id #15659 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Mar 15, 2008 at 10:30 PM by kornelpal
After instantiating an ADODB.Connection COM object and calling a query on it I then execute the following code on the query result object:
for ($Idx = 0; $Idx < $Query_Result->Fields->Count(); ++...
Id #11425 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Jun 28, 2007 at 2:13 PM by JonathanL
I'm new to Phalanger but I do like where it's going.
I've managed to do a very nice Winforms app with it but hit a snag...
I was using VS2005 has a companion helper to do all the design and stuff a...
Id #10781 | Release:
None
| Updated: Feb 21 at 11:42 PM by gcarreno | Created: Jun 5, 2007 at 7:12 PM by gcarreno
A useful improvement will be to intercept some errors generated by the .NET run-time and provide more useful messages. A couple of examples:
When an extension loads php4ts a developer might see t...
Id #10441 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: May 21, 2007 at 2:18 PM by bseddon
The library seems to be a great piece of work and we've already had success using it to create a .NET version of the PHP WebDAV server that is part of the Pear library. However the PHP compiler co...
Id #8727 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Mar 7, 2007 at 2:08 PM by bseddon
Though declared, function oci_connect() is not present in php_oci8 extension, ultimately making TCP/IP connections to an Oracle DB impossible...
Id #8187 | Release:
None
| Updated: Feb 21 at 11:42 PM by qtech | Created: Feb 13, 2007 at 12:36 PM by qtech
In ADODB:
Cannot marshal the variable - unsupported type PhpRuntimeChain.
Parameter name: ManagedObj
Description: An unhandled exception occurred during the execution of the current web request....
Id #6180 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Dec 2, 2006 at 7:58 PM by tomasp
This would improve interoperability because when casting to int we loose type information.
(PHP/CLR) Handle enums as special type:
This will allow as to determine type of the enum variable at r...
Id #6177 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Dec 2, 2006 at 7:56 PM by tomasp
It would be nice if it were possible to specify how the generated class should look like, what attribtues should be attached to generated methods and whether original method should be hidden (usefu...
Id #6174 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Dec 2, 2006 at 7:54 PM by tomasp
We need to be able to pass custom command line parameters to compiler in Visual Studio PHP project. Command line parameters should be visible in project properties (it would be nice to have checkbo...
Id #5280 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Nov 6, 2006 at 2:02 PM by tomasp
Our PhpCodeCompiler does not derive from System.CodeDom.Compiler.CodeCompiler and hence no separate phpc process is spawned. An internal interface is used to invoke the compiler in the same or sepa...
Id #3978 | Release:
None
| Updated: Feb 21 at 11:42 PM by ladaprosek | Created: Oct 3, 2006 at 3:55 PM by ladaprosek
I have created a simple PHP.NET runner application which instantiates an IPhpScript and gets its output (see below). The only issue I ran into is that my assembly is marked with CLSCompliant, and b...
Id #3183 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Sep 13, 2006 at 5:46 AM by eydelber
In FW v1.0 it wasn't possible to use ASP.NET settings of encodings (<globalization> tag). It should be possible now. Review the settings.
Id #2598 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Aug 25, 2006 at 6:32 PM by TomasMatousek
Add accessors as described in PHP/CLR doc.
Id #1622 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Aug 5, 2006 at 7:56 AM by TomasMatousek
Reason: AppStatic properties initialization.
Id #1619 | Release:
None
| Updated: Feb 21 at 11:42 PM by ladaprosek | Created: Aug 5, 2006 at 7:54 AM by TomasMatousek
$x->Item[$a,$b]
$x[$a,$b]
Id #1617 | Release:
None
| Updated: Feb 21 at 11:42 PM by jakub | Created: Aug 5, 2006 at 7:52 AM by TomasMatousek
Id #1616 | Release:
None
| Updated: Aug 5, 2006 at 7:50 AM by TomasMatousek | Created: Aug 5, 2006 at 7:50 AM by TomasMatousek
b"", b'' and b<<< currently behaves in the same way as non-binaries.
Id #1614 | Release:
None
| Updated: Feb 21 at 11:42 PM by TomasMatousek | Created: Aug 5, 2006 at 7:48 AM by TomasMatousek