3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function f(...$args){ echo "see? arguments are optional.\n"; } f(); $ref = new ReflectionFunction('f'); var_dump($ref->getParameters()[0]->getDefaultValue());

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.4.140.0140.00717.83
8.4.130.0040.00518.07
8.4.120.0080.00820.51
8.4.110.0130.00724.11
8.4.100.0110.00717.90
8.4.90.0100.00718.70
8.4.80.0070.00418.02
8.4.70.0060.00317.95
8.4.60.0110.01018.76
8.4.50.0120.00818.66
8.4.40.0030.01317.56
8.4.30.0170.00318.79
8.4.20.0060.01318.18
8.4.10.0160.00019.63
8.3.270.0110.00916.39
8.3.260.0130.00616.55
8.3.250.0150.00318.89
8.3.240.0120.00716.67
8.3.230.0090.01016.38
8.3.220.0050.00317.09
8.3.210.0110.00716.41
8.3.200.0040.00416.73
8.3.190.0110.00818.94
8.3.180.0060.01316.44
8.3.170.0120.00618.80
8.3.160.0110.00418.40
8.3.150.0110.00720.59
8.3.140.0070.01118.20
8.3.130.0050.00518.61
8.3.120.0040.00420.79
8.3.110.0080.00519.59
8.3.100.0090.00521.36
8.3.90.0090.00522.51
8.3.80.0120.00318.24
8.3.70.0120.00918.33
8.3.60.0170.00018.38
8.3.50.0080.01218.41
8.3.40.0090.01120.48
8.3.30.0140.00519.10
8.3.20.0120.00621.78
8.3.10.0090.00421.89
8.3.00.0030.01122.77
8.2.290.0030.00520.23
8.2.280.0020.00622.34
8.2.270.0180.00018.97
8.2.260.0090.00916.57
8.2.250.0040.00418.24
8.2.240.0040.00418.79
8.2.230.0090.00520.36
8.2.220.0110.01027.93
8.2.210.0220.00521.75
8.2.200.0240.00516.63
8.2.190.0220.00517.38
8.2.180.0210.01017.52
8.2.170.0140.00419.23
8.2.160.0110.00921.13
8.2.150.0100.00522.57
8.2.140.0100.00922.00
8.2.130.0130.00219.65
8.2.120.0060.01022.82
8.2.110.0150.00319.94
8.2.100.0090.00919.15
8.2.90.0080.00819.19
8.2.80.0150.00319.04
8.2.70.0110.00619.07
8.2.60.0110.00619.09
8.2.50.0110.00719.17
8.2.40.0100.00719.14
8.2.30.0100.00619.09
8.2.20.0090.00718.94
8.2.10.0050.01119.02
8.2.00.0070.00919.11
8.1.330.0110.00822.10
8.1.320.0120.00616.25
8.1.310.0040.00416.04
8.1.300.0090.00020.19
8.1.290.0090.00824.51
8.1.280.0100.00521.99
8.1.270.0030.00721.99
8.1.260.0060.00421.85
8.1.250.0060.00422.72
8.1.240.0050.00817.85
8.1.230.0070.00518.09
8.1.220.0040.00918.77
8.1.210.0080.00519.39
8.1.200.0020.00718.84
8.1.190.0050.00518.66
8.1.180.0050.00518.65
8.1.170.0070.00318.66
8.1.160.0050.00518.62
8.1.150.0080.00318.76
8.1.140.0060.00518.68
8.1.130.0080.00318.43
8.1.120.0070.00918.54
8.1.110.0100.00318.69
8.1.100.0110.00518.77
8.1.90.0090.00318.71
8.1.80.0030.00818.71
8.1.70.0090.00118.73
8.1.60.0070.00518.82
8.1.50.0090.00318.78
8.1.40.0080.00318.88
8.1.30.0070.00419.02
8.1.20.0050.00718.17
8.1.10.0090.00218.80
8.1.00.0110.00218.78
8.0.300.0220.00517.12
8.0.290.0150.00717.10
8.0.280.0180.00717.10
8.0.270.0240.00217.22
8.0.260.0180.00817.27
8.0.250.0220.00617.16
8.0.240.0220.00517.33
8.0.230.0150.00517.14
8.0.220.0240.00617.09
8.0.210.0190.00617.15
8.0.200.0210.00717.34
8.0.190.0210.00317.25
8.0.180.0180.00717.18
8.0.170.0210.00217.13
8.0.160.0160.00517.08
8.0.150.0170.00717.26
8.0.140.0200.00517.16
8.0.130.0220.00217.10
8.0.120.0130.01117.12
8.0.110.0180.00717.26
8.0.100.0130.00817.18
8.0.90.0170.00516.98
8.0.80.0210.00117.02
8.0.70.0190.00617.06
8.0.60.0220.00816.94
8.0.50.0160.00317.07
8.0.30.0170.00517.29
8.0.20.0120.00417.34
8.0.10.0080.00717.37

preferences:
53.5 ms | 403 KiB | 5 Q