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 App; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illumina..
Decoded Output download
<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
class Post extends Model
{
use HasFactory;
public function users(): BelongsToMany
{
return $this->belongsToMany(User::class);
}
/**
* @return PostBuilder<Post>
*/
public static function query(): PostBuilder
{
return parent::query();
}
/**
* @param \Illuminate\Database\Query\Builder $query
* @return PostBuilder<Post>
*/
public function newEloquentBuilder($query): PostBuilder
{
return new PostBuilder($query);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
class Post extends Model
{
use HasFactory;
public function users(): BelongsToMany
{
return $this->belongsToMany(User::class);
}
/**
* @return PostBuilder<Post>
*/
public static function query(): PostBuilder
{
return parent::query();
}
/**
* @param \Illuminate\Database\Query\Builder $query
* @return PostBuilder<Post>
*/
public function newEloquentBuilder($query): PostBuilder
{
return new PostBuilder($query);
}
}
Function Calls
None |
Stats
MD5 | 42ffada414e6b00d1f1419407ae900a8 |
Eval Count | 0 |
Decode Time | 113 ms |