3v4l.org

run code in 300+ PHP versions simultaneously
<?php function first() { return second(); } function second() { echo 'second called from first'; } first();

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.60.0110.00418.31
8.3.50.0070.00719.71
8.3.40.0070.01020.00
8.3.30.0040.01118.63
8.3.20.0040.00420.60
8.3.10.0080.00020.16
8.3.00.0030.00520.39
8.2.180.0040.01118.10
8.2.170.0140.00718.73
8.2.160.0170.00322.96
8.2.150.0050.00325.66
8.2.140.0050.00324.66
8.2.130.0020.00526.16
8.2.120.0040.00419.48
8.2.110.0070.00320.79
8.2.100.0040.00817.72
8.2.90.0030.00619.46
8.2.80.0000.00817.97
8.2.70.0080.00017.91
8.2.60.0000.00917.91
8.2.50.0000.00918.10
8.2.40.0030.00520.46
8.2.30.0000.00717.96
8.2.20.0000.00717.98
8.2.10.0040.00419.06
8.2.00.0000.00718.98
8.1.280.0070.00725.92
8.1.270.0000.00820.19
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0140.00722.53
8.1.230.0030.00721.04
8.1.220.0000.00717.74
8.1.210.0000.00818.82
8.1.200.0090.00017.23
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0000.00918.58
8.1.160.0040.00418.66
8.1.150.0030.00618.76
8.1.140.0040.00418.75
8.1.130.0000.00821.84
8.1.120.0000.00817.35
8.1.110.0040.00417.33
8.1.100.0070.00017.23
8.1.90.0040.00417.37
8.1.80.0030.00517.33
8.1.70.0000.00717.19
8.1.60.0060.00617.57
8.1.50.0080.00017.38
8.1.40.0040.00417.47
8.1.30.0030.00617.56
8.1.20.0040.00417.49
8.1.10.0040.00417.45
8.1.00.0000.00717.42
8.0.300.0040.00419.86
8.0.290.0000.00816.61
8.0.280.0070.00018.30
8.0.270.0000.00716.80
8.0.260.0000.00720.00
8.0.250.0030.00316.84
8.0.240.0080.00016.84
8.0.230.0040.00416.68
8.0.220.0030.00316.65
8.0.210.0080.00016.75
8.0.200.0060.00016.75
8.0.190.0030.00516.75
8.0.180.0030.00516.79
8.0.170.0030.00616.75
8.0.160.0000.00716.72
8.0.150.0000.00816.59
8.0.140.0060.00316.73
8.0.130.0050.00013.12
8.0.120.0000.00816.75
8.0.110.0050.00316.55
8.0.100.0070.00016.58
8.0.90.0030.00616.79
8.0.80.0110.00316.64
8.0.70.0000.00816.61
8.0.60.0030.00516.56
8.0.50.0030.00316.71
8.0.30.0160.00317.14
8.0.20.0050.01317.15
8.0.10.0070.00016.76
8.0.00.0180.00016.86
7.4.330.0000.00415.55
7.4.320.0000.00616.27
7.4.300.0030.00316.58
7.4.290.0040.00416.46
7.4.280.0070.00016.55
7.4.270.0030.00316.42
7.4.260.0000.00613.21
7.4.250.0030.00516.50
7.4.240.0000.00716.34
7.4.230.0000.00716.43
7.4.220.0050.00216.61
7.4.210.0090.00616.55
7.4.200.0000.00816.54
7.4.130.0100.01316.44
7.4.120.0060.01216.48
7.4.110.0080.01216.50
7.4.100.0090.00916.52
7.4.90.0040.01416.45
7.4.80.0110.00819.39
7.4.70.0030.01516.43
7.4.60.0070.01316.48
7.4.50.0030.00916.43
7.4.40.0090.01216.61
7.4.30.0070.01016.48
7.4.20.0200.00016.36
7.4.10.0160.00016.16
7.4.00.0150.00616.65
7.3.330.0050.00216.11
7.3.320.0060.00013.09
7.3.310.0040.00416.12
7.3.300.0030.00316.27
7.3.290.0110.00716.24
7.3.280.0110.00416.18
7.3.260.0140.00616.45
7.3.240.0070.01016.32
7.3.230.0080.01216.11
7.3.210.0130.00316.39
7.3.200.0100.00716.11
7.3.190.0090.00616.58
7.3.180.0060.01016.32
7.3.170.0060.01016.37
7.3.160.0130.00316.45
7.3.150.0100.00716.22
7.3.140.0130.01016.25
7.3.130.0070.01416.17
7.3.120.0030.01616.32
7.3.110.0090.00616.33
7.3.100.0000.02016.11
7.3.90.0060.01216.27
7.3.80.0070.01316.38
7.3.70.0160.00616.24
7.3.60.0050.01116.46
7.3.50.0060.01016.27
7.3.40.0130.00716.26
7.3.30.0130.01016.25
7.3.20.0230.01018.22
7.3.10.0100.01318.18
7.3.00.0090.01518.18
7.2.330.0070.01716.48
7.2.310.0100.00716.41
7.2.300.0120.00816.49
7.2.290.0140.00316.33
7.2.280.0090.00916.35
7.2.270.0060.00916.57
7.2.260.0040.01816.54
7.2.250.0100.01016.48
7.2.240.0060.01516.48
7.2.230.0110.01116.37
7.2.220.0130.00916.56
7.2.210.0150.00816.71
7.2.200.0070.01116.39
7.2.190.0030.01216.38
7.2.180.0090.00616.25
7.2.170.0090.01316.30
7.2.160.0130.01016.31
7.2.150.0150.00918.46
7.2.140.0130.01218.36
7.2.130.0110.01118.23
7.2.120.0130.00318.38
7.2.110.0040.01918.45
7.2.100.0120.00618.45
7.2.90.0140.00318.38
7.2.80.0120.00618.34
7.2.70.0170.00018.45
7.2.60.0090.00918.37
7.2.50.0130.00918.32
7.2.40.0040.01318.30
7.2.30.0110.01218.25
7.2.20.0280.00616.72
7.2.10.0070.01118.23
7.2.00.0160.01318.40

preferences:
63.73 ms | 400 KiB | 5 Q