3v4l.org

run code in 300+ PHP versions simultaneously
<?php function secupress_cache_data( $key ) { var_dump( func_get_args ); static $datas = array(); if ( $data !== 'trolilol' ) { $datas[ $key ] = $data; } return isset( $datas[ $key ] ) ? $datas[ $key ] : 'KO!!'; } secupress_cache_data( 'bar', null );

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.0140.00716.75
8.3.50.0170.00522.01
8.3.40.0100.01018.59
8.3.30.0070.00718.85
8.3.20.0070.01120.29
8.3.10.0130.00623.48
8.3.00.0080.00819.38
8.2.180.0090.00916.50
8.2.170.0120.00622.96
8.2.160.0110.00320.48
8.2.150.0170.00324.18
8.2.140.0130.00624.66
8.2.130.0090.00019.10
8.2.120.0040.00426.35
8.2.110.0080.00020.44
8.2.100.0080.00417.80
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00317.68
8.2.50.0040.00418.07
8.2.40.0030.00619.52
8.2.30.0000.00720.54
8.2.20.0040.00717.74
8.2.10.0000.00817.97
8.2.00.0040.00418.05
8.1.280.0120.00625.92
8.1.270.0090.00623.87
8.1.260.0000.01828.09
8.1.250.0090.00928.09
8.1.240.0060.00324.03
8.1.230.0030.00919.56
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0090.00017.36
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0040.00421.93
8.1.150.0000.00718.81
8.1.140.0000.00717.26
8.1.130.0040.00417.64
8.1.120.0000.00817.30
8.1.110.0070.00017.25
8.1.100.0040.00417.41
8.1.90.0040.00417.30
8.1.80.0000.00717.29
8.1.70.0000.00717.35
8.1.60.0030.00517.54
8.1.50.0090.00017.32
8.1.40.0000.00717.43
8.1.30.0030.00517.66
8.1.20.0020.00517.62
8.1.10.0040.00417.50
8.1.00.0090.00017.45
8.0.300.0030.00618.77
8.0.290.0030.00516.75
8.0.280.0030.00318.45
8.0.270.0050.00316.88
8.0.260.0030.00317.29
8.0.250.0000.00616.91
8.0.240.0040.00417.02
8.0.230.0040.00416.95
8.0.220.0000.00716.92
8.0.210.0070.00316.88
8.0.200.0040.00416.93
8.0.190.0040.00417.03
8.0.180.0000.00716.98
8.0.170.0030.00617.00
8.0.160.0000.00716.93
8.0.150.0070.00017.00
8.0.140.0000.00816.96
8.0.130.0030.00313.38
8.0.120.0030.00616.78
8.0.110.0050.00216.86
8.0.100.0020.00516.86
8.0.90.0000.00816.97
8.0.80.0120.00316.95
8.0.70.0050.00316.89
8.0.60.0040.00416.86
8.0.50.0000.00716.84
8.0.30.0120.00917.02
8.0.20.0120.00717.41
8.0.10.0000.00717.09
8.0.00.0110.00716.77
7.4.330.0000.00516.71
7.4.320.0030.00316.55
7.4.300.0040.00416.55
7.4.290.0070.00016.55
7.4.280.0090.00016.38
7.4.270.0060.00016.45
7.4.260.0050.00316.44
7.4.250.0040.00416.55
7.4.240.0040.00316.48
7.4.230.0070.00016.44
7.4.220.0060.01316.63
7.4.210.0140.00516.61
7.4.200.0070.00016.34
7.4.160.0000.01416.54
7.4.150.0120.00617.40
7.4.140.0130.01117.86
7.4.130.0120.00616.67
7.4.120.0100.00716.55
7.4.110.0090.00916.32
7.4.100.0090.01216.59
7.4.90.0080.00816.38
7.4.80.0110.00619.39
7.4.70.0150.00716.63
7.4.60.0100.00616.68
7.4.50.0060.00616.62
7.4.40.0030.01316.56
7.4.30.0060.01216.71
7.4.00.0090.00514.92
7.3.330.0000.00513.40
7.3.320.0000.00613.46
7.3.310.0030.00316.46
7.3.300.0000.00716.34
7.3.290.0000.00716.38
7.3.280.0070.01216.40
7.3.270.0060.01117.40
7.3.260.0110.00616.45
7.3.250.0120.00716.42
7.3.240.0090.00916.41
7.3.230.0070.01016.39
7.3.210.0110.00516.46
7.3.200.0090.00616.39
7.3.190.0120.00916.43
7.3.180.0120.00416.66
7.3.170.0130.00716.55
7.3.160.0100.01016.35
7.3.120.0090.00715.01
7.3.110.0050.01214.92
7.3.100.0050.01115.04
7.3.90.0070.00714.88
7.3.80.0090.00514.81
7.3.70.0040.01314.67
7.3.60.0030.00814.99
7.3.50.0050.00814.90
7.3.40.0000.01014.92
7.3.30.0040.00914.78
7.3.20.0060.00516.66
7.3.10.0070.01016.59
7.3.00.0060.00816.70
7.2.330.0060.01016.52
7.2.320.0070.01716.70
7.2.310.0090.01516.34
7.2.300.0130.00316.66
7.2.290.0090.00916.44
7.2.250.0040.01515.00
7.2.240.0030.01415.08
7.2.230.0030.01214.97
7.2.220.0050.00914.90
7.2.210.0060.00915.01
7.2.200.0060.00814.90
7.2.190.0020.01614.90
7.2.180.0100.00314.97
7.2.170.0070.00515.02
7.2.160.0060.00614.95
7.2.150.0090.00916.86
7.2.140.0160.00016.95
7.2.130.0050.00816.82
7.2.120.0050.00916.76
7.2.110.0060.00716.78
7.2.100.0070.00616.74
7.2.90.0070.00816.81
7.2.80.0060.00616.90
7.2.70.0030.00816.79
7.2.60.0080.00816.75
7.2.50.0070.00716.92
7.2.40.0040.00916.91
7.2.30.0060.00616.86
7.2.20.0040.00716.80
7.2.10.0060.00816.82
7.2.00.0050.00917.31
7.1.330.0060.00515.74
7.1.320.0070.00715.89
7.1.310.0100.00315.89
7.1.300.0070.00615.57
7.1.290.0060.00615.76
7.1.280.0020.01315.77
7.1.270.0030.00915.97
7.1.260.0060.00715.79
7.1.250.0080.00615.92
7.1.200.0040.00815.81
7.1.100.0000.00918.30
7.1.70.0030.00516.91
7.1.60.0130.01319.48
7.1.50.0060.01616.63
7.1.00.0070.07322.35
7.0.200.0740.00014.67
7.0.60.0170.05720.00
7.0.50.0030.08717.84
7.0.40.0030.04320.10
7.0.30.0300.04020.07
7.0.20.0300.06020.33
7.0.10.0100.06320.23
7.0.00.0070.06720.22
5.6.280.0000.05020.77
5.6.210.0070.04020.75
5.6.200.0030.08318.14
5.6.190.0030.08320.68
5.6.180.0270.04020.36
5.6.170.0270.07020.56
5.6.160.0070.05320.56
5.6.150.0100.07318.15
5.6.140.0100.07718.18
5.6.130.0100.03318.18
5.6.120.0070.08320.99
5.6.110.0030.06321.00
5.6.100.0070.06320.98
5.6.90.0070.08021.02
5.6.80.0130.07320.38
5.5.350.3570.04020.33
5.5.340.0030.08317.97
5.5.330.0030.09020.33
5.5.320.0000.04320.27
5.5.310.0170.06020.26
5.5.300.0100.08017.96
5.5.290.0000.04317.97
5.5.280.0000.06720.88
5.5.270.0130.05320.80
5.5.260.0070.07320.79
5.5.250.0130.04720.50
5.5.240.0300.06320.13

preferences:
55.14 ms | 401 KiB | 5 Q