This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require './vendor/autoload.php'; | |
// The code samples to parse. | |
// => bool(false) | |
$code = '<?php class Foo {public $bar;}'; | |
// => bool(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php 69474 160-14e8 ENTER SQLAllocEnv | |
HENV * 0x029AD090 | |
php 69474 160-14e8 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS) | |
HENV * 0x029AD090 ( 0x00163E60) | |
php 69474 160-14e8 ENTER SQLAllocConnect | |
HENV 0x00163E60 | |
HDBC * 0x029AD094 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
mkdir('foo1'); | |
mkdir('foo2'); | |
file_put_contents('foo2/bar.txt', '42'); | |
symlink('../foo2/bar.txt', 'foo1/foo3.txt'); | |
var_dump(file_get_contents('foo1/foo3.txt')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php 69381 1334-18c0 ENTER SQLAllocEnv | |
HENV * 0x00E76280 | |
php 69381 1334-18c0 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS) | |
HENV * 0x00E76280 ( 0x00601758) | |
php 69381 1334-18c0 ENTER SQLAllocConnect | |
HENV 0x00601758 | |
HDBC * 0x00E76284 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php 69381 11cc-49c ENTER SQLAllocEnv | |
HENV * 0x027FCC78 | |
php 69381 11cc-49c EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS) | |
HENV * 0x027FCC78 ( 0x00D41758) | |
php 69381 11cc-49c ENTER SQLAllocConnect | |
HENV 0x00D41758 | |
HDBC * 0x027FCC7C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php 69736 17e0-15f4 ENTER SQLSetEnvAttr | |
SQLHENV 0x00000000 | |
SQLINTEGER 201 <SQL_ATTR_CONNECTION_POOLING> | |
SQLPOINTER 2 <SQL_CP_ONE_PER_HENV> | |
SQLINTEGER 0 | |
php 69736 17e0-15f4 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS) | |
SQLHENV 0x00000000 | |
SQLINTEGER 201 <SQL_ATTR_CONNECTION_POOLING> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
</programlisting> | |
</example> | |
</para> | |
+ | |
+ <sect2 xml:id="functions.scalar-type-declaration"> | |
+ <title>Type Declaration</title> | |
+ <note> | |
+ <para> | |
+ Type declaration is also known as Type Hinting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class VariableStream { | |
var $position; | |
var $varname; | |
function stream_open($path, $mode, $options, &$opened_path) | |
{ | |
$url = parse_url($path); | |
$this->varname = $url["host"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$name = "/tmp/hello.txt.gz"; | |
$file = "compress.zlib://" . $name; | |
$stream = fopen($file, 'w'); | |
var_dump(flock($stream, LOCK_EX)); | |
fputs($stream, 'hello'); | |
fclose($stream); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\cmb\php\bugs\73048>php 73048.php | |
Bearbeitete Datei: parent | |
1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten. | |
Bearbeitete Datei: parent\child | |
1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten. | |
Bearbeitete Datei: parent | |
1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten. | |
Datenträger in Laufwerk C: ist System | |
Volumeseriennummer: 04CF-334A |
OlderNewer