A reproducer for zf1s/zf1#11
-
-
Save glensc/ce6a301ddc60a0d1dba8878ae32709c3 to your computer and use it in GitHub Desktop.
Zend_File_Transfer zf1s test
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
/vendor/ |
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
{ | |
"name": "glen/zf", | |
"require": { | |
"zf1s/zend-file-transfer": "^1.13", | |
"zf1s/zend-validate": "^1.13" | |
} | |
} |
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
{ | |
"_readme": [ | |
"This file locks the dependencies of your project to a known state", | |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | |
"This file is @generated automatically" | |
], | |
"content-hash": "391c7264061cb8d34adc35d5523013b6", | |
"packages": [ | |
{ | |
"name": "zf1s/zend-cache", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-cache.git", | |
"reference": "403ac33ef8cf6de5a6d1b64af901424e85fd6f6c" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-cache/zipball/403ac33ef8cf6de5a6d1b64af901424e85fd6f6c", | |
"reference": "403ac33ef8cf6de5a6d1b64af901424e85fd6f6c", | |
"shasum": "" | |
}, | |
"require": { | |
"php": ">=5.3.3", | |
"zf1s/zend-exception": "^1.13" | |
}, | |
"replace": { | |
"zf1/zend-cache": "^1.12" | |
}, | |
"suggest": { | |
"ext-apc": "Used in special situations or with special adapters", | |
"ext-memcache": "Used in special situations or with special adapters", | |
"ext-memcached": "Used in special situations or with special adapters", | |
"ext-sqlite": "Used in special situations or with special adapters", | |
"zf1s/zend-log": "Used in special situations or with special adapters" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_Cache": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 Cache package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"cache", | |
"framework", | |
"zend" | |
], | |
"time": "2019-05-24T06:54:27+00:00" | |
}, | |
{ | |
"name": "zf1s/zend-exception", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-exception.git", | |
"reference": "1e0074f6693f629ce5ebb598ad710dcd9190b298" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-exception/zipball/1e0074f6693f629ce5ebb598ad710dcd9190b298", | |
"reference": "1e0074f6693f629ce5ebb598ad710dcd9190b298", | |
"shasum": "" | |
}, | |
"require": { | |
"php": ">=5.3.3" | |
}, | |
"replace": { | |
"zf1/zend-exception": "^1.12" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_Exception": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 Exception package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"exception", | |
"framework", | |
"zend" | |
], | |
"time": "2019-05-23T17:54:14+00:00" | |
}, | |
{ | |
"name": "zf1s/zend-file-transfer", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-file-transfer.git", | |
"reference": "823c99e1bfe4d69ead8379bf1f3f3cdf5055fc73" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-file-transfer/zipball/823c99e1bfe4d69ead8379bf1f3f3cdf5055fc73", | |
"reference": "823c99e1bfe4d69ead8379bf1f3f3cdf5055fc73", | |
"shasum": "" | |
}, | |
"require": { | |
"php": ">=5.3.3", | |
"zf1s/zend-exception": "^1.13" | |
}, | |
"replace": { | |
"zf1/zend-file-transfer": "^1.12" | |
}, | |
"suggest": { | |
"zf1s/zend-loader": "Used in special situations or with special adapters" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_File_Transfer": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 File Transfer package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"file", | |
"framework", | |
"transfer", | |
"zend" | |
], | |
"time": "2019-05-23T17:54:14+00:00" | |
}, | |
{ | |
"name": "zf1s/zend-loader", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-loader.git", | |
"reference": "5b3270591012d130be4e377c4fb3879387fb8c33" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-loader/zipball/5b3270591012d130be4e377c4fb3879387fb8c33", | |
"reference": "5b3270591012d130be4e377c4fb3879387fb8c33", | |
"shasum": "" | |
}, | |
"require": { | |
"php": ">=5.3.3", | |
"zf1s/zend-exception": "^1.13" | |
}, | |
"replace": { | |
"zf1/zend-loader": "^1.12" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_Loader": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 Loader package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"framework", | |
"loader", | |
"zend" | |
], | |
"time": "2019-05-23T17:54:14+00:00" | |
}, | |
{ | |
"name": "zf1s/zend-locale", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-locale.git", | |
"reference": "9b3f93cf289c5f267c3893652f1c97c770999f2c" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-locale/zipball/9b3f93cf289c5f267c3893652f1c97c770999f2c", | |
"reference": "9b3f93cf289c5f267c3893652f1c97c770999f2c", | |
"shasum": "" | |
}, | |
"require": { | |
"ext-iconv": "*", | |
"php": ">=5.3.3", | |
"zf1s/zend-cache": "^1.13", | |
"zf1s/zend-exception": "^1.13", | |
"zf1s/zend-registry": "^1.13", | |
"zf1s/zend-xml": "^1.13" | |
}, | |
"replace": { | |
"zf1/zend-locale": "^1.12" | |
}, | |
"suggest": { | |
"zf1s/zend-registry": "Used in special situations or with special adapters" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_Locale": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 Locale package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"framework", | |
"locale", | |
"zend" | |
], | |
"time": "2019-05-24T06:54:27+00:00" | |
}, | |
{ | |
"name": "zf1s/zend-registry", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-registry.git", | |
"reference": "df45efb9c28b849573ea62b2ec00629f416ffa0c" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-registry/zipball/df45efb9c28b849573ea62b2ec00629f416ffa0c", | |
"reference": "df45efb9c28b849573ea62b2ec00629f416ffa0c", | |
"shasum": "" | |
}, | |
"require": { | |
"php": ">=5.3.3", | |
"zf1s/zend-exception": "^1.13" | |
}, | |
"replace": { | |
"zf1/zend-registry": "^1.12" | |
}, | |
"suggest": { | |
"zf1s/zend-loader": "Used in special situations or with special adapters" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_Registry": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 Registry package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"framework", | |
"registry", | |
"zend" | |
], | |
"time": "2019-05-23T17:54:14+00:00" | |
}, | |
{ | |
"name": "zf1s/zend-validate", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-validate.git", | |
"reference": "2563b150bfabfd8cd7cdbfd2b6177cbe96ae2722" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-validate/zipball/2563b150bfabfd8cd7cdbfd2b6177cbe96ae2722", | |
"reference": "2563b150bfabfd8cd7cdbfd2b6177cbe96ae2722", | |
"shasum": "" | |
}, | |
"require": { | |
"ext-ctype": "*", | |
"ext-reflection": "*", | |
"php": ">=5.3.3", | |
"zf1s/zend-exception": "^1.13", | |
"zf1s/zend-loader": "^1.13", | |
"zf1s/zend-locale": "^1.13" | |
}, | |
"replace": { | |
"zf1/zend-validate": "^1.12" | |
}, | |
"suggest": { | |
"zf1s/zend-date": "Used in special situations or with special adapters", | |
"zf1s/zend-filter": "Used in special situations or with special adapters", | |
"zf1s/zend-registry": "Used in special situations or with special adapters" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_Validate": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 Validate package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"framework", | |
"validate", | |
"zend" | |
], | |
"time": "2019-05-24T06:54:27+00:00" | |
}, | |
{ | |
"name": "zf1s/zend-xml", | |
"version": "1.13.0", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/zf1s/zend-xml.git", | |
"reference": "fac1b0c3736dd9e76f96ab50faaec9759f8c0a2e" | |
}, | |
"dist": { | |
"type": "zip", | |
"url": "https://api.github.com/repos/zf1s/zend-xml/zipball/fac1b0c3736dd9e76f96ab50faaec9759f8c0a2e", | |
"reference": "fac1b0c3736dd9e76f96ab50faaec9759f8c0a2e", | |
"shasum": "" | |
}, | |
"require": { | |
"ext-dom": "*", | |
"ext-simplexml": "*", | |
"ext-xml": "*", | |
"php": ">=5.3.3", | |
"zf1s/zend-exception": "^1.13" | |
}, | |
"replace": { | |
"zf1/zend-xml": "^1.12" | |
}, | |
"type": "library", | |
"extra": { | |
"branch-alias": { | |
"dev-master": "1.x-dev" | |
} | |
}, | |
"autoload": { | |
"psr-0": { | |
"Zend_Xml": "library/" | |
} | |
}, | |
"notification-url": "https://packagist.org/downloads/", | |
"license": [ | |
"BSD-3-Clause" | |
], | |
"description": "Zend Framework 1 Xml package", | |
"homepage": "http://framework.zend.com/", | |
"keywords": [ | |
"ZF1", | |
"framework", | |
"xml", | |
"zend" | |
], | |
"time": "2019-05-24T06:54:27+00:00" | |
} | |
], | |
"packages-dev": [], | |
"aliases": [], | |
"minimum-stability": "stable", | |
"stability-flags": [], | |
"prefer-stable": false, | |
"prefer-lowest": false, | |
"platform": [], | |
"platform-dev": [] | |
} |
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 __DIR__ . '/vendor/autoload.php'; | |
var_dump(class_exists('Zend_File_Transfer_Adapter_Http')); | |
// test default adapter | |
$file1 = new Zend_File_Transfer(); | |
// test FQDN adapter | |
$file2 = new Zend_File_Transfer('Zend_File_Transfer_Adapter_Http'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment