3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace Rector\Tests\TypeDeclaration\Rector\ClassMethod\ParamTypeByMethodCallTypeRector\Fixture; final class SkipDefaultNumericStringParamInt { public function go(int $value = '1') { $this->execute($value); } private function execute(int $value) { echo $value; } } $obj = new SkipDefaultNumericStringParamInt(); $obj->go();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.50.0130.00516.82
8.2.110.0100.01020.47
8.2.100.0200.00318.86
8.2.90.0260.01018.52
8.2.80.0250.00418.58
8.2.70.0320.00618.31
8.2.60.0270.00318.61
8.2.50.0290.01018.45
8.2.40.0170.00718.58
8.2.30.0080.00418.57
8.2.20.0270.00718.65
8.2.10.0250.01118.95
8.2.00.0190.01018.91
8.1.240.0340.00018.32
8.1.230.0290.00418.35
8.1.220.0090.00918.49
8.1.210.0340.00019.75
8.1.200.0250.00018.00
8.1.190.0250.00617.99
8.1.180.0170.01018.10
8.1.170.0250.00918.33
8.1.160.0210.00418.45
8.1.150.0190.00020.59
8.1.140.0190.00518.29
8.1.130.0320.00318.17
8.1.120.0240.01018.23
8.1.110.0200.01418.39
8.1.100.0260.01018.40
8.1.90.0230.00718.41
8.1.80.0140.00418.37
8.1.70.0200.00918.73
8.1.60.0260.01518.44
8.1.50.0240.01018.44
8.1.40.0180.01518.61
8.1.30.0240.00619.04
8.1.20.0260.01318.56
8.1.10.0230.01518.28
8.1.00.0240.00718.54
8.0.300.0250.01117.75
8.0.290.0230.00617.70
8.0.280.0240.00617.84
8.0.270.0150.01517.76
8.0.260.0140.00317.68
8.0.250.0250.00717.70
8.0.240.0230.00617.75
8.0.230.0140.01718.18
8.0.220.0050.00817.87
8.0.210.0190.00817.80
8.0.200.0310.00017.87
8.0.190.0200.00817.59
8.0.180.0160.01617.69
8.0.170.0170.01017.88
8.0.160.0250.00717.73
8.0.150.0250.00317.79
8.0.140.0290.00617.89
8.0.130.0230.00818.13
8.0.120.0290.00017.82
8.0.110.0250.00618.13
8.0.100.0120.00417.70
8.0.90.0260.01017.75
8.0.80.0230.01317.79
8.0.70.0190.00917.89
8.0.60.0160.00017.75
8.0.50.0350.00017.82
8.0.30.0110.00417.73
8.0.20.0290.00717.86
8.0.10.0210.01117.71

preferences:
54.14 ms | 773 KiB | 4 Q