3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("AAA","AAA"); function abc($cc,&$aa,&$bb) { $arr = get_defined_vars(); unset($arr[cc]); print_r($arr); $aa = 2; $bb = 3; } abc(1,$aa,$bb);

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.0090.01218.43
8.3.50.0090.00618.18
8.3.40.0090.00618.65
8.3.30.0070.00718.84
8.3.20.0040.00420.34
8.3.10.0040.00420.46
8.3.00.0070.00021.94
8.2.180.0070.00716.63
8.2.170.0090.00622.96
8.2.160.0030.01422.27
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00019.21
8.2.120.0040.00426.35
8.2.110.0060.00320.47
8.2.100.0060.00617.84
8.2.90.0040.00419.27
8.2.80.0030.00617.97
8.2.70.0030.00617.63
8.2.60.0040.00417.80
8.2.50.0050.00518.09
8.2.40.0040.00420.53
8.2.30.0080.00019.49
8.2.20.0030.00517.77
8.2.10.0060.00317.98
8.2.00.0000.00718.05
8.1.280.0170.00325.92
8.1.270.0140.00421.88
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0150.00323.86
8.1.230.0110.00023.98
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0050.00317.35
8.1.180.0080.00018.10
8.1.170.0040.00418.39
8.1.160.0040.00420.75
8.1.150.0000.00820.59
8.1.140.0040.00419.63
8.1.130.0070.00017.62
8.1.120.0070.00017.43
8.1.110.0000.00817.41
8.1.100.0000.00817.49
8.1.90.0000.00717.39
8.1.80.0000.00717.51
8.1.70.0000.00717.52
8.1.60.0040.00417.46
8.1.50.0040.00417.43
8.1.40.0030.00617.50
8.1.30.0030.00617.61
8.1.20.0030.00617.41
8.1.10.0030.00617.52
8.1.00.0060.00317.46
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00518.46
8.0.270.0070.00017.30
8.0.260.0060.00017.16
8.0.250.0000.00717.02
8.0.240.0050.00216.89
8.0.230.0070.00016.90
8.0.220.0030.00316.96
8.0.210.0000.00716.82
8.0.200.0040.00416.88
8.0.190.0040.00417.08
8.0.180.0070.00016.91
8.0.170.0050.00316.98
8.0.160.0000.00816.95
8.0.150.0070.00016.77
8.0.140.0000.00716.91
8.0.130.0030.00313.40
8.0.120.0000.00816.95
8.0.110.0040.00416.77
8.0.100.0000.00816.94
8.0.90.0040.00417.04
8.0.80.0000.01416.90
8.0.70.0070.00016.93
8.0.60.0050.00216.84
8.0.50.0050.00217.01
8.0.30.0090.01017.06
8.0.20.0100.01117.40
8.0.10.0070.00016.89
8.0.00.0070.01416.73
7.4.330.0050.00016.84
7.4.320.0030.00316.47
7.4.300.0000.00716.52
7.4.290.0040.00416.41
7.4.280.0050.00316.62
7.4.270.0080.00016.51
7.4.260.0000.00716.60
7.4.250.0080.00016.42
7.4.240.0040.00416.60
7.4.230.0000.00716.53
7.4.220.0030.01416.56
7.4.210.0070.00716.62
7.4.200.0030.00516.36
7.4.160.0160.00616.30
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0110.00716.60
7.4.120.0080.01116.63
7.4.110.0100.00716.45
7.4.100.0120.01216.49
7.4.90.0080.00816.62
7.4.80.0060.01519.39
7.4.70.0060.01016.66
7.4.60.0100.01016.62
7.4.50.0060.00616.68
7.4.40.0090.00916.51
7.4.30.0070.01116.61
7.4.00.0080.00415.19
7.3.330.0060.00013.23
7.3.320.0030.00313.43
7.3.310.0070.00016.39
7.3.300.0050.00216.27
7.3.290.0050.00916.32
7.3.280.0110.00616.36
7.3.270.0040.01417.40
7.3.260.0090.00916.57
7.3.250.0060.01216.53
7.3.240.0130.00716.47
7.3.230.0130.00416.39
7.3.210.0100.00716.54
7.3.200.0070.01416.32
7.3.190.0070.01016.37
7.3.180.0030.01216.38
7.3.170.0040.01416.34
7.3.160.0140.00316.50
7.3.120.0070.01114.98
7.3.110.0080.00314.62
7.3.100.0030.01014.78
7.3.90.0060.00614.80
7.3.80.0040.01115.03
7.3.70.0040.00814.76
7.3.60.0000.01314.90
7.3.50.0000.01314.86
7.3.40.0000.00814.84
7.3.30.0000.00914.56
7.3.20.0000.01216.61
7.3.10.0040.00416.69
7.3.00.0070.00716.40
7.2.330.0100.01316.73
7.2.320.0080.01816.47
7.2.310.0100.01316.30
7.2.300.0060.01216.41
7.2.290.0080.00816.60
7.2.240.0100.00715.08
7.2.230.0060.00615.17
7.2.220.0030.00715.25
7.2.210.0090.00614.81
7.2.200.0120.00014.71
7.2.190.0000.01314.80
7.2.180.0070.00714.81
7.2.170.0040.00414.80
7.2.160.0040.00814.78
7.2.150.0030.00916.77
7.2.140.0110.00316.87
7.2.130.0060.00816.73
7.2.120.0030.01016.76
7.2.110.0050.00816.68
7.2.100.0110.00616.61
7.2.90.0090.00716.59
7.2.80.0040.01116.63
7.2.70.0060.00916.78
7.2.60.0080.00616.79
7.2.50.0060.01016.91
7.2.40.0060.00916.88
7.2.30.0080.00816.68
7.2.20.0100.00516.63
7.2.10.0050.00716.63
7.2.00.0040.01017.59
7.1.330.0030.01315.92
7.1.320.0000.00815.64
7.1.310.0080.01215.68
7.1.300.0060.00915.81
7.1.290.0040.00415.72
7.1.280.0030.00715.80
7.1.270.0060.00615.64
7.1.260.0030.00915.57
7.1.250.0060.00615.66
7.1.240.0090.00015.47
7.1.230.0030.00915.68
7.1.220.0070.00715.32
7.1.210.0080.00415.45
7.1.200.0080.00715.72
7.1.190.0000.01315.71
7.1.180.0080.00415.71
7.1.170.0000.00915.32
7.1.160.0090.00015.65
7.1.150.0070.00315.54
7.1.140.0100.01015.39
7.1.130.0000.01415.53
7.1.120.0130.00715.68
7.1.110.0040.00715.86
7.1.100.0060.00816.77
7.1.90.0070.00715.61
7.1.80.0000.01515.53
7.1.70.0050.01016.26
7.1.60.0080.00817.44
7.1.50.0090.00516.22
7.1.40.0070.00715.77
7.1.30.0040.01115.63
7.1.20.0030.00615.68
7.1.10.0060.00315.83
7.1.00.0100.03518.99
7.0.330.0030.00715.21
7.0.320.0100.01015.07
7.0.310.0000.01114.87
7.0.300.0030.00715.01
7.0.290.0080.00015.18
7.0.280.0040.00415.34
7.0.270.0060.01215.05
7.0.260.0070.00415.24
7.0.250.0030.01015.12
7.0.240.0150.00615.39
7.0.230.0070.00715.24
7.0.220.0160.00314.93
7.0.210.0140.00415.29
7.0.200.0140.00715.13
7.0.190.0080.00315.08
7.0.180.0170.00015.00
7.0.170.0130.00315.41
7.0.160.0030.01315.02
7.0.150.0110.00415.16
7.0.140.0030.00615.26
7.0.130.0070.00715.11
7.0.120.0070.00215.34
7.0.110.0060.00314.79
7.0.100.0130.00015.25
7.0.90.0030.01415.20
7.0.80.0070.01015.57
7.0.70.0030.00715.46
7.0.60.0180.03517.72
7.0.50.0050.05016.62
7.0.40.0080.03916.87
7.0.30.0080.02716.85
7.0.20.0170.02216.89
7.0.10.0080.04516.73
7.0.00.0070.02516.73
5.6.380.0030.01014.07
5.6.370.0060.00614.18
5.6.360.0000.01514.40
5.6.350.0100.00314.42
5.6.340.0040.01214.04
5.6.330.0060.00314.04
5.6.320.0040.00714.11
5.6.310.0000.01014.10
5.6.300.0070.00414.16
5.6.290.0070.00714.34
5.6.280.0030.02717.43
5.6.270.0040.01313.79
5.6.260.0040.01414.03
5.6.250.0070.00713.83
5.6.240.0070.01014.12
5.6.230.0000.01514.21
5.6.220.0060.01014.21
5.6.210.0020.03117.44
5.6.200.0070.03116.24
5.6.190.0000.03417.34
5.6.180.0130.02117.27
5.6.170.0190.03817.28
5.6.160.0050.02417.26
5.6.150.0020.03915.91
5.6.140.0080.04316.02
5.6.130.0100.04316.09
5.6.120.0030.03917.49
5.6.110.0050.04817.62
5.6.100.0060.04617.58
5.6.90.0100.04217.45
5.6.80.0030.05017.04
5.6.70.0030.00614.07
5.6.60.0070.00313.91
5.6.50.0080.00414.09
5.6.40.0130.00014.28
5.6.30.0070.00713.85
5.6.20.0060.01013.86
5.6.10.0100.00313.77
5.6.00.0050.00314.14
5.5.380.0100.00311.01
5.5.370.0000.01310.82
5.5.360.0060.00611.30
5.5.350.0230.03515.81
5.5.340.0070.04014.45
5.5.330.0060.02815.64
5.5.320.0310.02715.60
5.5.310.0150.02015.53
5.5.300.0030.03814.53
5.5.290.0070.04414.44
5.5.280.0120.03715.76
5.5.270.0070.04515.85
5.5.260.0000.02815.71
5.5.250.0060.04515.74
5.5.240.0080.03515.43
5.5.230.0040.00810.82
5.5.220.0050.00010.59
5.5.210.0060.00610.54
5.5.200.0050.00310.75
5.5.190.0060.00610.89
5.5.180.0030.00311.22
5.5.170.0000.01010.75
5.5.160.0070.00310.79
5.5.150.0040.00411.09
5.5.140.0060.00010.91
5.5.130.0090.00310.67
5.5.120.0030.00310.84
5.5.110.0000.00910.75
5.5.100.0040.00711.30
5.5.90.0000.00811.33
5.5.80.0000.00610.89
5.5.70.0070.00411.08
5.5.60.0100.00010.94
5.5.50.0060.00611.21
5.5.40.0060.00610.82
5.5.30.0070.00310.95
5.5.20.0030.00711.03
5.5.10.0030.00310.85
5.5.00.0030.00610.82

preferences:
33.59 ms | 400 KiB | 5 Q