Back to index

php5  5.3.10
Variables
makestub.php File Reference

Go to the source code of this file.

Variables

 $s = str_replace("\r", '', file_get_contents(dirname(__FILE__) . '/shortarc.php'))
 $news = ''
 $slen = strlen($s) - strlen('index.php') - strlen("000")
 $webs = substr($s, 0, strpos($s, "000"))
 $s1 = substr($s, 0, strpos($s, 'index.php'))
 $s2 = substr($s, strlen($s1) + strlen('index.php'))
 $s3 = substr($s, strlen($s2) + 4 + strlen($s1) + strlen('index.php'))
 $stub
 $s1split = str_split($s1, 2046)
 $s3split = str_split($s3, 2046)
 $took = false

Variable Documentation

$news = ''

Definition at line 5 of file makestub.php.

$s = str_replace("\r", '', file_get_contents(dirname(__FILE__) . '/shortarc.php'))

Definition at line 2 of file makestub.php.

$s1 = substr($s, 0, strpos($s, 'index.php'))

Definition at line 28 of file makestub.php.

$s1split = str_split($s1, 2046)

Definition at line 56 of file makestub.php.

$s2 = substr($s, strlen($s1) + strlen('index.php'))

Definition at line 29 of file makestub.php.

$s3 = substr($s, strlen($s2) + 4 + strlen($s1) + strlen('index.php'))

Definition at line 31 of file makestub.php.

$s3split = str_split($s3, 2046)

Definition at line 57 of file makestub.php.

$slen = strlen($s) - strlen('index.php') - strlen("000")

Definition at line 21 of file makestub.php.

foreach ($s3split as $i=> $unused) $stub
Initial value:
 '/*
  +----------------------------------------------------------------------+
  | phar php single-file executable PHP extension generated stub         |
  +----------------------------------------------------------------------+
  | Copyright (c) 2005-' . date('Y') . ' The PHP Group                   |
  +----------------------------------------------------------------------+
  | This source file is subject to version 3.01 of the PHP license,      |
  | that is bundled with this package in the file LICENSE, and is        |
  | available through the world-wide-web at the following url:           |
  | http://www.php.net/license/3_01.txt.                                 |
  | If you did not receive a copy of the PHP license and are unable to   |
  | obtain it through the world-wide-web, please send a note to          |
  | license@php.net so we can mail you a copy immediately.               |
  +----------------------------------------------------------------------+
  | Authors: Gregory Beaver <cellog@php.net>                             |
  +----------------------------------------------------------------------+
*/

/* $Id: makestub.php 264018 2008-08-01 13:48:45Z sfox $ */

static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub, const int name_len, const int web_len TSRMLS_DC)
{
'

Definition at line 33 of file makestub.php.

$took = false

Definition at line 58 of file makestub.php.

$webs = substr($s, 0, strpos($s, "000"))

Definition at line 26 of file makestub.php.