Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Illuminate\Validation\Rules; class ImageFile extends File { /** ..
Decoded Output download
<?php
namespace Illuminate\Validation\Rules;
class ImageFile extends File
{
/**
* Create a new image file rule instance.
*
* @return void
*/
public function __construct()
{
$this->rules('image');
}
/**
* The dimension constraints for the uploaded file.
*
* @param \Illuminate\Validation\Rules\Dimensions $dimensions
*/
public function dimensions($dimensions)
{
$this->rules($dimensions);
return $this;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Validation\Rules;
class ImageFile extends File
{
/**
* Create a new image file rule instance.
*
* @return void
*/
public function __construct()
{
$this->rules('image');
}
/**
* The dimension constraints for the uploaded file.
*
* @param \Illuminate\Validation\Rules\Dimensions $dimensions
*/
public function dimensions($dimensions)
{
$this->rules($dimensions);
return $this;
}
}
Function Calls
None |
Stats
MD5 | a611d4304b5eedee031d361409d5e1c1 |
Eval Count | 0 |
Decode Time | 92 ms |