3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * This route does this and that. */ #[Route('/my/route/', name:'my_route')] function example() {} $reflector = new ReflectionFunction('example'); var_dump($reflector->getDocComment()); var_dump($reflector->getAttributes());

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.5.00.0130.00819.96
8.4.150.0060.00716.85
8.4.140.0120.01017.38
8.4.130.0110.01119.29
8.4.120.0110.00520.50
8.4.110.0150.00418.82
8.4.100.0100.00818.84
8.4.90.0120.00920.51
8.4.80.0010.00918.73
8.4.70.0050.00318.70
8.4.60.0140.00418.91
8.4.50.0070.01318.41
8.4.40.0170.00319.43
8.4.30.0130.00720.17
8.4.20.0100.01020.46
8.4.10.0070.00322.59
8.3.280.0130.00718.48
8.3.270.0120.00716.75
8.3.260.0140.00616.48
8.3.250.0110.00717.13
8.3.240.0120.00716.63
8.3.230.0090.00716.63
8.3.220.0050.00618.65
8.3.210.0120.00716.53
8.3.200.0060.00416.61
8.3.190.0050.00318.91
8.3.180.0030.00516.68
8.3.170.0120.00620.69
8.3.160.0090.00017.24
8.3.150.0160.00316.87
8.3.140.0070.00716.39
8.3.130.0080.00016.51
8.3.120.0090.00020.50
8.3.110.0030.00618.10
8.3.100.0100.00016.61
8.3.90.0130.00626.77
8.3.80.0030.00616.50
8.3.70.0220.00016.58
8.3.60.0150.00318.37
8.3.50.0130.00620.10
8.3.40.0100.01020.29
8.3.30.0030.01318.93
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0080.00920.55
8.2.280.0100.00820.21
8.2.270.0040.00418.72
8.2.260.0110.00416.49
8.2.250.0040.00418.27
8.2.240.0090.00017.16
8.2.230.0080.00020.94
8.2.220.0060.00324.06
8.2.210.0070.01126.77
8.2.200.0050.00518.41
8.2.190.0110.00418.41
8.2.180.0150.00325.92
8.2.170.0070.00718.69
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0090.00026.16
8.2.120.0000.00826.16
8.2.110.0030.00620.57
8.2.100.0040.00817.78
8.2.90.0050.00519.16
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0000.00817.80
8.2.50.0030.00518.07
8.2.40.0000.01118.09
8.2.30.0030.00617.99
8.2.20.0000.00720.35
8.2.10.0050.00517.89
8.2.00.0080.00019.04
8.1.330.0140.00421.83
8.1.320.0110.00816.30
8.1.310.0110.00716.84
8.1.300.0050.00518.61
8.1.290.0060.00330.84
8.1.280.0080.00625.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.19
8.1.230.0070.00419.07
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0070.00417.35
8.1.190.0030.00617.23
8.1.180.0030.00518.10
8.1.170.0030.00618.50
8.1.160.0070.00018.83
8.1.150.0030.00518.44
8.1.140.0000.00717.33
8.1.130.0030.00318.74
8.1.120.0040.00317.41
8.1.110.0040.00417.39
8.1.100.0030.00317.28
8.1.90.0070.00017.32
8.1.80.0070.00017.39
8.1.70.0000.00717.40
8.1.60.0070.00017.40
8.1.50.0030.00617.50
8.1.40.0000.01117.42
8.1.30.0070.00417.36
8.1.20.0080.00317.55
8.1.10.0050.00717.41
8.1.00.0190.00517.43
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.36
8.0.270.0000.00716.75
8.0.260.0030.00318.26
8.0.250.0040.00416.75
8.0.240.0060.00316.87
8.0.230.0030.00316.89
8.0.220.0030.00316.82
8.0.210.0040.00416.84
8.0.200.0000.00816.95
8.0.190.0000.00716.81
8.0.180.0050.00316.78
8.0.170.0180.00416.72
8.0.160.0120.00416.68
8.0.150.0150.00616.73
8.0.140.0200.00016.65
8.0.130.0140.00816.77
8.0.120.0210.00016.73
8.0.110.0150.00516.80
8.0.100.0190.00316.71
8.0.90.0150.00516.81
8.0.80.0100.00716.88
8.0.70.0090.00316.78
8.0.60.0050.00516.66
8.0.50.0070.00416.75
8.0.30.0160.00416.80
8.0.20.0150.00416.88
8.0.10.0180.00316.88
7.4.330.0020.00215.55
7.4.320.0000.00616.54
7.4.300.0000.00616.60
7.4.290.0000.00616.52
7.4.280.0240.00016.54
7.4.270.0180.00516.46
7.4.260.0110.01116.39
7.4.250.0170.00516.31
7.4.240.0150.00716.45
7.4.230.0190.00316.42
7.4.220.0100.00716.61
7.4.210.0110.00616.48
7.4.200.0150.00416.56
7.4.190.0050.01416.50
7.4.180.0100.00816.50
7.4.160.0120.00616.52
7.4.150.0130.00416.42
7.4.140.0140.00416.27
7.4.130.0160.00316.45
7.4.120.0180.00016.52
7.4.110.0110.00616.43
7.4.100.0140.00216.49
7.4.90.0060.00916.29
7.4.80.0080.00816.39
7.4.70.0130.00316.28
7.4.60.0130.00316.48
7.4.50.0140.00316.41
7.4.40.0120.00816.30
7.4.30.0060.01316.29
7.4.20.0140.00216.47
7.4.10.0200.00316.38
7.4.00.0170.00816.32

preferences:
37.91 ms | 403 KiB | 5 Q