3v4l.org

run code in 300+ PHP versions simultaneously
<?php function func( &$ref ) { echo "ok\n"; } $obj = (object)[]; $params = [ &$obj ]; echo "Before unset: "; call_user_func_array( 'func', $params ); unset( $obj ); echo "After unset: "; call_user_func_array( 'func', $params );

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.10.0090.00019.30
8.3.140.0120.00616.73
8.3.130.0100.01016.79
8.3.120.0140.00418.73
8.3.110.0080.00020.94
8.3.100.0040.00416.40
8.3.90.0160.00316.74
8.3.80.0030.00617.97
8.3.70.0120.00616.63
8.3.60.0070.00716.63
8.3.50.0080.01318.16
8.3.40.0120.00618.79
8.3.30.0150.00018.54
8.3.20.0040.00420.04
8.3.10.0080.00022.04
8.3.00.0040.00423.51
8.2.250.0100.01018.25
8.2.240.0090.00017.05
8.2.230.0050.00322.58
8.2.220.0080.00024.06
8.2.210.0070.01126.77
8.2.200.0030.01018.29
8.2.190.0140.00416.88
8.2.180.0070.01018.30
8.2.170.0120.00919.07
8.2.160.0000.01422.96
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0060.00326.16
8.2.120.0040.00421.13
8.2.110.0060.00319.39
8.2.100.0030.00717.84
8.2.90.0040.00418.28
8.2.80.0040.00418.22
8.2.70.0040.00417.75
8.2.60.0040.00417.63
8.2.50.0050.00317.63
8.2.40.0030.00519.48
8.2.30.0030.00619.11
8.2.20.0030.00517.96
8.2.10.0040.00418.05
8.2.00.0030.00517.95
8.1.300.0040.01518.02
8.1.290.0030.00618.88
8.1.280.0140.00725.92
8.1.270.0100.01023.76
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00322.48
8.1.230.0110.00020.93
8.1.220.0090.00017.74
8.1.210.0080.00418.77
8.1.200.0060.00317.25
8.1.190.0090.00017.36
8.1.180.0050.00518.10
8.1.170.0000.00719.03
8.1.160.0040.00418.83
8.1.150.0050.00220.13
8.1.140.0050.00319.56
8.1.130.0000.00618.88
8.1.120.0040.00417.38
8.1.110.0040.00417.45
8.1.100.0030.00617.36
8.1.90.0030.00517.45
8.1.80.0040.00417.43
8.1.70.0070.00017.45
8.1.60.0000.00917.65
8.1.50.0040.00717.51
8.1.40.0000.00817.38
8.1.30.0000.00817.68
8.1.20.0050.00317.66
8.1.10.0080.00017.40
8.1.00.0060.00317.47
8.0.300.0000.00819.94
8.0.290.0000.00916.75
8.0.280.0050.00318.44
8.0.270.0040.00416.86
8.0.260.0030.00318.49
8.0.250.0070.00016.95
8.0.240.0000.00716.98
8.0.230.0070.00016.87
8.0.220.0070.00016.95
8.0.210.0040.00416.93
8.0.200.0030.00316.99
8.0.190.0100.00017.01
8.0.180.0000.00716.85
8.0.170.0000.00816.93
8.0.160.0040.00416.93
8.0.150.0000.00816.89
8.0.140.0000.00816.92
8.0.130.0000.00513.45
8.0.120.0000.00816.88
8.0.110.0000.00716.93
8.0.100.0040.00416.76
8.0.90.0000.00816.84
8.0.80.0080.01316.89
8.0.70.0030.00517.00
8.0.60.0040.00416.94
8.0.50.0050.00316.94
8.0.30.0120.00617.10
8.0.20.0080.01317.40
8.0.10.0030.00517.13
8.0.00.0170.00317.01
7.4.330.0000.00615.55
7.4.320.0000.00616.40
7.4.300.0030.00316.47
7.4.290.0030.00316.61
7.4.280.0080.00016.53
7.4.270.0070.00016.61
7.4.260.0000.00716.46
7.4.250.0080.00016.40
7.4.240.0040.00416.63
7.4.230.0000.00716.61
7.4.220.0150.01216.56
7.4.210.0060.01216.60
7.4.200.0000.00716.70
7.4.160.0100.00516.40
7.4.150.0090.01717.40
7.4.140.0090.01017.86
7.4.130.0060.01316.61
7.4.120.0090.00916.56
7.4.110.0140.00616.53
7.4.100.0100.01316.49
7.4.90.0140.00316.43
7.4.80.0080.00819.39
7.4.70.0120.00416.48
7.4.60.0060.01016.46
7.4.50.0090.00916.26
7.4.40.0140.00616.61
7.4.30.0080.00816.63
7.4.10.0100.00715.22
7.4.00.0050.01214.88
7.3.330.0040.00413.18
7.3.320.0050.00013.37
7.3.310.0000.00616.38
7.3.300.0000.00616.37
7.3.290.0020.01216.31
7.3.280.0080.00916.32
7.3.270.0140.00417.40
7.3.260.0060.01116.43
7.3.250.0100.00716.32
7.3.240.0090.00916.48
7.3.230.0090.00616.45
7.3.210.0030.01316.43
7.3.200.0060.01016.56
7.3.190.0090.00616.42
7.3.180.0130.00916.27
7.3.170.0040.01216.48
7.3.160.0100.00616.51
7.3.130.0070.01114.62
7.3.120.0120.00514.87
7.3.110.0080.01014.82
7.3.100.0120.00514.86
7.3.90.0090.00014.62
7.3.80.0050.01014.55
7.3.70.0070.01014.76
7.3.60.0050.01014.84
7.3.50.0090.00414.72
7.3.40.0030.00814.72
7.3.30.0070.00714.73
7.3.20.0090.00416.59
7.3.10.0080.00716.62
7.3.00.0030.00916.45
7.2.330.0120.00616.62
7.2.320.0060.01216.63
7.2.310.0030.01416.41
7.2.300.0060.01116.76
7.2.290.0120.00416.34
7.2.260.0090.00914.95
7.2.250.0050.01214.92
7.2.240.0050.00915.04
7.2.230.0080.00815.03
7.2.220.0080.00715.04
7.2.210.0080.00614.86
7.2.200.0050.00715.01
7.2.190.0080.00714.97
7.2.180.0030.00915.09
7.2.170.0060.00614.94
7.2.160.0070.00714.92
7.2.150.0060.00916.95
7.2.140.0030.01016.82
7.2.130.0060.00917.04
7.2.120.0040.00816.72
7.2.110.0100.00716.71
7.2.100.0030.01016.95
7.2.90.0100.00616.73
7.2.80.0070.01016.92
7.2.70.0060.00316.65
7.2.60.0780.00815.71
7.2.50.0750.01015.89
7.2.40.0710.00715.94
7.2.30.0790.01016.02
7.2.20.0810.01216.04
7.2.10.0800.01016.21
7.2.00.0620.01016.25
7.1.330.0070.00715.70
7.1.320.0040.00815.74
7.1.310.0070.00615.87
7.1.300.0030.01115.65
7.1.290.0060.00615.83
7.1.280.0020.00815.43
7.1.270.0080.00715.79
7.1.260.0050.00615.76
7.1.250.0080.00815.96
7.1.240.0030.01015.76
7.1.230.0000.01115.65
7.1.220.0070.00715.83
7.1.210.0000.01715.91
7.1.200.0050.00815.55
7.1.190.0030.00915.72
7.1.180.0040.00815.76
7.1.170.0600.00814.78
7.1.160.0840.00716.17
7.1.150.0680.01016.31
7.1.140.0710.00916.34
7.1.130.0800.00916.18
7.1.120.0660.00716.21
7.1.110.0700.01016.07
7.1.100.0490.01015.93
7.1.90.0510.01015.90
7.1.80.0530.01016.04
7.1.70.0280.00815.43
7.1.60.0440.01027.31
7.1.50.0340.01227.33
7.1.40.2090.01426.97
7.1.30.0620.01427.06
7.1.20.0410.01327.05
7.1.10.0210.00815.02
7.1.00.0350.01215.14
7.0.330.0000.01515.45
7.0.320.0080.00615.50
7.0.310.0100.00315.50
7.0.300.0640.00714.35
7.0.290.0640.00715.97
7.0.280.0090.00615.42
7.0.270.0700.00715.91
7.0.260.0740.00816.04
7.0.250.0660.00915.63
7.0.240.0480.00915.75
7.0.230.0440.00915.73
7.0.220.0510.01015.61
7.0.210.0280.00715.08
7.0.200.0340.01115.01
7.0.190.0430.00915.11
7.0.180.5190.00914.77
7.0.170.0360.01214.85
7.0.160.0340.01114.74
7.0.150.0320.00714.78
7.0.140.0430.00814.80
7.0.130.0310.00915.00
7.0.120.2840.00914.85
7.0.110.0360.00714.83
7.0.100.0380.01214.73
7.0.90.0440.00914.87
7.0.80.0450.01014.90
7.0.70.1960.01114.84
7.0.60.0490.00814.70
7.0.50.2420.00714.91
7.0.40.2690.01214.24
7.0.30.2560.00914.41
7.0.20.2160.01014.32
7.0.10.2650.00714.31
7.0.00.1300.00914.28
5.6.400.0080.00314.48
5.6.390.0040.00414.39
5.6.380.0060.00814.23
5.6.370.0070.01014.48
5.6.360.0040.00814.59
5.6.350.0060.00614.41
5.6.340.0030.00814.51
5.6.330.0070.00714.39
5.6.320.0060.00614.50
5.6.310.0070.00714.66
5.6.300.0170.05018.54
5.6.290.0170.03718.65
5.6.280.0130.04918.75
5.6.270.0100.05018.76
5.6.260.0070.05318.75
5.6.250.0160.04118.60
5.6.240.0180.04518.72
5.6.230.0130.04718.59
5.6.220.0150.04518.64
5.6.210.0140.04918.75
5.6.200.0160.04718.67
5.6.190.0140.04118.64
5.6.180.0140.05018.66
5.6.170.0160.04718.59
5.6.160.0150.04818.55
5.6.150.0150.04618.76
5.6.140.0110.05018.76
5.6.130.0160.05718.72
5.6.120.0150.05518.57
5.6.110.0150.05018.72
5.6.100.0130.04518.51
5.6.90.0140.04418.72
5.6.80.0130.04618.23
5.6.70.0180.04018.16
5.6.60.0100.04618.14
5.6.50.0140.04218.19
5.6.40.0140.04618.17
5.6.30.0160.04318.24
5.6.20.0100.04418.20
5.6.10.0130.04618.27
5.6.00.0170.04718.24
5.5.380.0240.06517.46
5.5.370.0200.05417.49
5.5.360.0200.05617.41
5.5.350.0180.05517.43
5.5.340.0150.05918.14
5.5.330.0150.06117.80
5.5.320.0160.07318.00
5.5.310.0170.05617.74
5.5.300.0250.05118.02
5.5.290.0150.06617.94
5.5.280.0150.06318.13
5.5.270.0140.06718.02
5.5.260.0120.06218.02
5.5.250.0140.06817.86
5.5.240.0160.06217.39
5.5.230.0160.05817.41
5.5.220.0200.05117.38
5.5.210.0160.05317.37
5.5.200.0240.06017.46
5.5.190.0160.05817.35
5.5.180.0160.06517.30
5.5.160.0200.06917.13
5.5.150.0160.06217.29
5.5.140.0160.07717.37
5.5.130.0160.07517.29
5.5.120.0190.07017.38
5.5.110.0220.05517.11
5.5.100.0160.07417.03
5.5.90.0200.07017.05
5.5.80.0180.07117.19
5.5.70.0190.06216.99
5.5.60.0130.06117.27
5.5.50.0240.06717.27
5.5.40.0240.05916.98
5.5.30.0190.05117.04
5.5.20.0190.06317.27
5.5.10.0230.05716.95
5.5.00.0160.06017.34
5.4.450.0220.06719.48
5.4.440.0130.06119.24
5.4.430.0130.06119.27
5.4.420.0190.07519.39
5.4.410.0190.06719.28
5.4.400.0170.05719.08
5.4.390.0170.05618.99
5.4.380.0160.06419.04
5.4.370.0180.05319.24
5.4.360.0170.06418.98
5.4.350.0200.07619.07
5.4.340.0210.06719.08
5.4.320.0280.07119.00
5.4.310.0190.05118.86
5.4.300.0160.06318.86
5.4.290.0250.06718.84
5.4.280.0190.07519.23
5.4.270.0190.06918.91
5.4.260.0180.06318.94
5.4.250.0200.07718.82
5.4.240.0230.06919.14
5.4.230.0160.07419.03
5.4.220.0170.06719.07
5.4.210.0170.06218.99
5.4.200.0150.06918.91
5.4.190.0240.07018.98
5.4.180.0110.05619.06
5.4.170.0170.06218.96
5.4.160.0230.06819.00
5.4.150.0180.06618.81
5.4.140.0180.05916.50
5.4.130.0190.05216.39
5.4.120.0200.06016.73
5.4.110.0140.05516.68
5.4.100.0080.06816.48
5.4.90.0130.05216.71
5.4.80.0180.05216.70
5.4.70.0130.05716.62
5.4.60.0150.07116.69
5.4.50.0140.05016.62
5.4.40.0160.05516.74
5.4.30.0120.06916.63
5.4.20.0170.05916.62
5.4.10.0190.07116.48
5.4.00.0220.05715.98
5.3.290.0170.06414.95
5.3.280.0220.05914.64
5.3.270.0190.06014.79
5.3.260.0190.07214.89
5.3.250.0190.07314.83
5.3.240.0130.05714.91
5.3.230.0180.05414.71
5.3.220.0160.05014.73
5.3.210.0110.07214.44
5.3.200.0140.06514.63
5.3.190.0190.05814.78
5.3.180.0180.05414.63
5.3.170.0180.06714.63
5.3.160.0210.05514.76
5.3.150.0140.07514.87
5.3.140.0160.05214.75
5.3.130.0200.05414.74
5.3.120.0160.05214.84
5.3.110.0190.06414.82
5.3.100.0140.07614.10
5.3.90.0180.04914.32
5.3.80.0160.05214.19
5.3.70.0160.04914.23
5.3.60.0150.05614.00
5.3.50.0220.05714.12
5.3.40.0160.04913.82
5.3.30.0160.05014.11
5.3.20.0160.06013.88
5.3.10.0200.06413.70
5.3.00.0140.05613.82
5.2.170.0100.04911.20
5.2.160.0160.04011.25
5.2.150.0120.04811.20
5.2.140.0100.05011.18
5.2.130.0090.04411.09
5.2.120.0110.05111.30
5.2.110.0150.04411.29
5.2.100.0170.04111.30
5.2.90.0110.04111.27
5.2.80.0120.04011.14
5.2.70.0090.04611.12
5.2.60.0100.04311.23
5.2.50.0160.04211.32
5.2.40.0130.03810.99
5.2.30.0130.04211.14
5.2.20.0130.04510.84
5.2.10.0070.04411.12
5.2.00.0200.03610.98
5.1.60.0090.03810.04
5.1.50.0120.03910.21
5.1.40.0170.03510.26
5.1.30.0150.03710.38
5.1.20.0130.04310.41
5.1.10.0080.04410.38
5.1.00.0140.04210.36
5.0.50.0080.0338.59
5.0.40.0050.0338.70
5.0.30.0090.0598.43
5.0.20.0090.0328.41
5.0.10.0120.0348.23
5.0.00.0080.0478.44
4.4.90.0060.0228.02
4.4.80.0080.0208.02
4.4.70.0060.0228.02
4.4.60.0050.0238.02
4.4.50.0050.0228.02
4.4.40.0110.0408.02
4.4.30.0100.0198.02
4.4.20.0070.0238.02
4.4.10.0060.0258.02
4.4.00.0090.0308.02
4.3.110.0100.0218.02
4.3.100.0090.0228.02
4.3.90.0120.0248.02
4.3.80.0090.0318.02
4.3.70.0080.0208.02
4.3.60.0020.0248.02
4.3.50.0110.0178.02
4.3.40.0090.0348.02
4.3.30.0040.0228.02
4.3.20.0050.0218.02
4.3.10.0040.0238.02
4.3.00.0070.0278.02

preferences:
68.24 ms | 403 KiB | 5 Q