3v4l.org

run code in 300+ PHP versions simultaneously
<?php $GLOBALS['wp_version'] = '6.1-alpha-53344-src'; $current_version = substr( $GLOBALS['wp_version'], 0, 3 ); var_dump( $current_version ); $current_version = (float) $current_version - 0.1; var_dump( $current_version ); $latest_stable = sprintf( '%s.x', $current_version ); var_dump( $latest_stable );

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.20.0060.01317.79
8.4.10.0070.01321.95
8.3.150.0150.00317.05
8.3.140.0120.00616.98
8.3.130.0030.00618.40
8.3.120.0000.00919.04
8.3.110.0040.00420.94
8.3.100.0110.00716.66
8.3.90.0040.01116.48
8.3.80.0090.00016.50
8.3.70.0140.00716.58
8.3.60.0090.00918.27
8.3.50.0080.00819.88
8.3.40.0090.01218.58
8.3.30.0090.00619.22
8.3.20.0070.00024.18
8.3.10.0000.00724.66
8.3.00.0060.00326.16
8.2.260.0090.00919.02
8.2.250.0050.00316.59
8.2.240.0150.00416.96
8.2.230.0100.00722.58
8.2.220.0000.01524.06
8.2.210.0160.00326.77
8.2.200.0090.00016.38
8.2.190.0120.00416.63
8.2.180.0060.00925.92
8.2.170.0110.01122.96
8.2.160.0100.01022.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0080.00026.16
8.2.110.0000.00920.52
8.2.100.0000.01117.72
8.2.90.0030.00619.23
8.2.80.0030.00617.97
8.2.70.0050.00517.50
8.2.60.0030.00617.77
8.2.50.0000.00818.07
8.2.40.0050.00319.88
8.2.30.0070.00018.00
8.2.20.0040.00420.41
8.2.10.0070.00018.04
8.2.00.0040.00419.32
8.1.310.0070.01018.45
8.1.300.0070.01117.46
8.1.290.0030.00618.88
8.1.280.0140.00725.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.91
8.1.230.0040.00823.90
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0050.00318.57
8.1.160.0040.00418.78
8.1.150.0000.00818.57
8.1.140.0050.00317.45
8.1.130.0050.00318.85
8.1.120.0040.00417.35
8.1.110.0000.00717.30
8.1.100.0040.00417.43
8.1.90.0030.00417.41
8.1.80.0080.00017.46
8.1.70.0000.00717.42
8.1.60.0000.00817.58
8.1.50.0160.00817.50
8.1.40.0000.01217.47
8.1.30.0080.00517.67
8.1.20.0200.00317.46
8.1.10.0230.00017.25
8.1.00.0190.00317.36
8.0.300.0000.00718.77
8.0.290.0030.00616.75
8.0.280.0030.00318.31
8.0.270.0000.00816.87
8.0.260.0000.00618.44
8.0.250.0070.00316.84
8.0.240.0040.00416.98
8.0.230.0060.00317.00
8.0.220.0000.00816.91
8.0.210.0030.00316.85
8.0.200.0030.00316.92
8.0.190.0000.00716.98
8.0.180.0090.00416.87
8.0.170.0150.00616.89
8.0.160.0060.01316.70
8.0.150.0220.00416.88
8.0.140.0150.00416.61
8.0.130.0170.00616.75
8.0.120.0140.01016.82
8.0.110.0060.00916.82
8.0.100.0140.00316.84
8.0.90.0080.00416.83
8.0.80.0150.00416.82
8.0.70.0130.00616.77
8.0.60.0130.00316.73
8.0.50.0050.01016.83
8.0.30.0150.00316.83
8.0.20.0090.00516.91
8.0.10.0180.00017.04
7.4.330.0030.00315.55
7.4.320.0050.00316.61
7.4.300.0000.00616.59
7.4.290.0060.00616.39
7.4.280.0150.00716.52
7.4.270.0160.00616.51
7.4.260.0190.00316.58
7.4.250.0200.00416.56
7.4.240.0170.00616.45
7.4.230.0160.00816.43
7.4.220.0210.00016.54
7.4.210.0200.00016.48
7.4.200.0200.00016.53
7.4.190.0140.00616.64
7.4.180.0130.00716.59
7.4.160.0190.00316.46
7.4.150.0170.00616.45
7.4.140.0180.00316.43
7.4.130.0140.00516.37
7.4.120.0200.00016.33
7.4.110.0130.00616.34
7.4.100.0140.00316.47
7.4.90.0120.00616.38
7.4.80.0100.00716.23
7.4.70.0150.00516.32
7.4.60.0100.00716.26
7.4.50.0090.00716.29
7.4.40.0050.00916.31
7.4.30.0080.00616.29
7.4.20.0160.00316.40
7.4.10.0110.00016.23
7.4.00.0110.00216.33

preferences:
69.53 ms | 403 KiB | 5 Q